surrsoft
10/10/2017 - 5:43 PM

cpdo_example.java

//=== _chevron
        drawerTrue = ((N1208_Chevron) new N1208_Chevron()
                .animMode(true)
                .animDuration(1000)
                .animPlay(true)
                .animToEndOnStart(true)
                .margins(new FourSizes(5, 5, 5, 5))
                .colorStroke(ColorStateList.valueOf(Color.BLACK))
                .rotateCenterAngle(180))
                ._animRotate(180, Prm.поЧасовой(true));
        drawerFalse = ((N1208_Chevron) new N1208_Chevron()
                .animMode(true)
                .animDuration(1000)
                .animPlay(true)
                .margins(new FourSizes(5, 5, 5, 5))
                .colorStroke(ColorStateList.valueOf(Color.BLACK))
                .rotateCenterAngle(0))
                ._animRotate(180, Prm.поЧасовой(true));
        buChevron = (BuCpdo) new BuCpdo(mContext)
                .drawerTrue(drawerTrue)
                .drawerFalse(drawerFalse)
                .startState(true)
                .presenter(new BuCpdo.Presenter() {
                    @Override
                    public void n1441_onChangeState(boolean newState) {
                        Log2.i(TAG, "--> n1441_onChangeState()", LOG2);
                        if (mPresenter != null) mPresenter.n2444_pressChevron(newState);
                    }
                })
                .wh(48);
        _chevron = buChevron.create();