|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nineoldandroids.animation.AnimatorListenerAdapter
public abstract class AnimatorListenerAdapter
This adapter class provides empty implementations of the methods from 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 Summary | |
|---|---|
AnimatorListenerAdapter()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnimatorListenerAdapter()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||