public abstract class AnimatorListenerAdapter extends java.lang.Object implements Animator.AnimatorListener
Animator.AnimatorListener.
Any custom listener that cares only about a subset of the methods of this listener can
simply subclass this adapter class instead of implementing the interface directly.| Constructor and Description |
|---|
AnimatorListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAnimationCancel(Animator animation)
Notifies the cancellation of the animation.
|
void |
onAnimationEnd(Animator animation)
Notifies the end of the animation.
|
void |
onAnimationRepeat(Animator animation)
Notifies the repetition of the animation.
|
void |
onAnimationStart(Animator animation)
Notifies the start of the animation.
|
public void onAnimationCancel(Animator animation)
Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationCancel in interface Animator.AnimatorListeneranimation - The animation which was canceled.public void onAnimationEnd(Animator animation)
Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationEnd in interface Animator.AnimatorListeneranimation - The animation which reached its end.public void onAnimationRepeat(Animator animation)
Notifies the repetition of the animation.
onAnimationRepeat in interface Animator.AnimatorListeneranimation - The animation which was repeated.public void onAnimationStart(Animator animation)
Notifies the start of the animation.
onAnimationStart in interface Animator.AnimatorListeneranimation - The started animation.Copyright © 2012-2013. All Rights Reserved.