Code example for Animator

Methods: cancel

0
    // 
    //-------------------------------------------------------------------------- 
 
    @Override 
    protected void onScrollTouched() { 
        mDimSelectorWheelAnimator.cancel();
        mDimSeparatorsAnimator.cancel();
        setSelectorPaintCoeff(1); 
        setSeparatorsPaintAlpha(mSelectionDividerActiveAlpha);
    } 
 
    @Override 
    protected void onScrollTouchedUp() { 
        super.onScrollTouchedUp(); 
        fadeSelectorWheel(750); 
        lightSeparators(750); 
    } 
 
    @Override 
    protected void onScrollFinished() { 
        fadeSelectorWheel(500);