@ SuppressWarnings ( "unused" ) public void resetView ( ) { if ( mForwardAnimatorSet != null && mForwardAnimatorSet . isRunning ( ) ) { mForwardAnimatorSet . end ( ) ; } if ( mReverseAnimatorSet != null && mReverseAnimatorSet . isRunning ( ) ) { mReverseAnimatorSet . end ( ) ; } if ( mAnimationView != null && mAnimationView . isPlaying ( ) ) { mAnimationView . stopAnimation ( ) ; } if ( mBaseContainer != null ) { mBaseContainer . setVisibility ( VISIBLE ) ; } if ( mAnimationView != null ) { mAnimationView . setAnimated ( false ) ; } if ( mContextView != null ) { mContextView . setVisibility ( GONE ) ; } }
Reset view to initial state