Code example for ObjectAnimator

Methods: isRunningreverse

0
    } 
 
    public void fadeOutBackground() { 
        if (mBackgroundPhase == BackgroundPhase.APPEARING_OR_VISIBLE) {
            mBackgroundPhase = BackgroundPhase.DISAPPEARING_OR_GONE;
            if (mBackgroundAnimator.isRunning()) {
                mBackgroundAnimator.reverse();
            } else { 
                ObjectAnimator.ofInt(this, "backgroundColorAlpha", DIM_BACKGROUND_ALPHA, 0).
                        setDuration(mAnimationDuration).start();
            } 
        } 
    } 
 
    public boolean isContentFullyVisible() { 
        return mForegroundPhase == ForegroundPhase.IDLE;
    } 
 
    /** Begin animating {@link #getChild()} visible. */ 
    public void showContent(final Runnable onAnimationEndRunnable) {
Contextual code suggestions in your IDE  Get Codota for Java