public interface AnimatorListenerCompat
An animation listener that receives notifications from an animation. Notifications indicate animation related events, such as the end or the repetition of the animation.
Modifier and Type | Method and Description |
---|---|
void |
onAnimationCancel(ValueAnimatorCompat animation)
Notifies the cancellation of the animation.
|
void |
onAnimationEnd(ValueAnimatorCompat animation)
Notifies the end of the animation.
|
void |
onAnimationRepeat(ValueAnimatorCompat animation)
Notifies the repetition of the animation.
|
void |
onAnimationStart(ValueAnimatorCompat animation)
Notifies the start of the animation.
|
void onAnimationStart(ValueAnimatorCompat animation)
Notifies the start of the animation.
animation
- The started animation.void onAnimationEnd(ValueAnimatorCompat 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(ValueAnimatorCompat 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(ValueAnimatorCompat animation)
Notifies the repetition of the animation.
animation
- The animation which was repeated.