public abstract class AnimatorListenerAdapter extends 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.| 构造器和说明 |
|---|
AnimatorListenerAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 在接口中 Animator.AnimatorListeneranimation - The animation which reached its end.public void onAnimationRepeat(Animator animation)
Notifies the repetition of the animation.
onAnimationRepeat 在接口中 Animator.AnimatorListeneranimation - The animation which was repeated.public void onAnimationStart(Animator animation)
Notifies the start of the animation.
onAnimationStart 在接口中 Animator.AnimatorListeneranimation - The started animation.