Code example for Animator

Methods: setDuration, start

0
     * Fade the selector spinnerwheel via an animation. 
     * 
     * @param animationDuration The duration of the animation. 
     */ 
    private void fadeSelectorWheel(long animationDuration) {
        mDimSelectorWheelAnimator.setDuration(animationDuration);
        mDimSelectorWheelAnimator.start();
    } 
 
    /** 
     * Fade the selector spinnerwheel via an animation. 
     * 
     * @param animationDuration The duration of the animation. 
     */ 
    private void lightSeparators(long animationDuration) {
        mDimSeparatorsAnimator.setDuration(animationDuration);
        mDimSeparatorsAnimator.start();
    } 
 
 
    //--------------------------------------------------------------------------