ViewPropertyAnimatorListenerAdapter
public class ViewPropertyAnimatorListenerAdapter implements ViewPropertyAnimatorListener
This adapter class provides empty implementations of the methods from ViewPropertyAnimatorListener. 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.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
void |
onAnimationCancel(@NonNull View view)Notifies the cancellation of the animation. |
void |
onAnimationEnd(@NonNull View view)Notifies the end of the animation. |
void |
onAnimationStart(@NonNull View view)Notifies the start of the animation. |
Public constructors
Public methods
onAnimationCancel
public void onAnimationCancel(@NonNull View view)
Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationEnd
public void onAnimationEnd(@NonNull View view)
Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationStart
public void onAnimationStart(@NonNull View view)
Notifies the start of the animation.