public void reset ( ) { for ( int i = 0 ; i < mAnimators . size ( ) ; i ++ ) { mAnimators . get ( mAnimators . keyAt ( i ) ) . cancel ( ) ; } mAnimators . clear ( ) ; mFirstAnimatedPosition = - 1 ; mLastAnimatedPosition = - 1 ; mAnimationStartMillis = - 1 ; mShouldAnimate = true ; }
Call this method to reset animation status on all views .