|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Animator.AnimatorListener
An animation listener receives notifications from an animation. Notifications indicate animation related events, such as the end or the repetition of the animation.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void onAnimationStart(Animator animation)
Notifies the start of the animation.
animation
- The started animation.void onAnimationEnd(Animator animation)
Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
animation
- The animation which reached its end.void onAnimationCancel(Animator animation)
Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
animation
- The animation which was canceled.void onAnimationRepeat(Animator animation)
Notifies the repetition of the animation.
animation
- The animation which was repeated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |