@Override public void onAnimationEnd(Animator animation) { super.onAnimationEnd(animation); animationInProgress = false; // tell the caller that the animation is over if (animationEndListener != null) { animationEndListener.onAnimationComplete(animation); } }
@Override protected void onAnimationEnd() { super.onAnimationEnd(); onAnimationEndWasCalled = true; }