Package io.scanbot.sdk.utils
Class ViewUtils.DefaultAnimationListener
-
- All Implemented Interfaces:
-
android.animation.Animator.AnimatorListener
public class ViewUtils.DefaultAnimationListener implements Animator.AnimatorListener
Implementation of Animator.AnimatorListener that does nothing. Used as base class for creating anonymous classes, which doesn't force you to override all the methods.
Also, ensures that DefaultAnimationListener.onAnimationFinished will be invoked not more than once per animation (which, for instance, can be possible on HTC One X).
-
-
Constructor Summary
Constructors Constructor Description ViewUtils.DefaultAnimationListener()
-
Method Summary
Modifier and Type Method Description Unit
onAnimationStart(Animator animation)
Unit
onAnimationEnd(Animator animation)
Unit
onAnimationFinished(Animator animation)
Implement this method instead of . Unit
onAnimationCancel(Animator animation)
Unit
onAnimationRepeat(Animator animation)
-
-
Method Detail
-
onAnimationStart
Unit onAnimationStart(Animator animation)
-
onAnimationEnd
Unit onAnimationEnd(Animator animation)
-
onAnimationFinished
Unit onAnimationFinished(Animator animation)
Implement this method instead of .onAnimationEnd
-
onAnimationCancel
Unit onAnimationCancel(Animator animation)
-
onAnimationRepeat
Unit onAnimationRepeat(Animator animation)
-
-
-
-