ViewPropertyAnimatorListenerAdapter
public
class
ViewPropertyAnimatorListenerAdapter
extends Object
implements
ViewPropertyAnimatorListener
java.lang.Object | |
↳ | androidx.core.view.ViewPropertyAnimatorListenerAdapter |
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 | |
---|---|
ViewPropertyAnimatorListenerAdapter()
|
Public methods | |
---|---|
void
|
onAnimationCancel(View view)
Notifies the cancellation of the animation. |
void
|
onAnimationEnd(View view)
Notifies the end of the animation. |
void
|
onAnimationStart(View view)
Notifies the start of the animation. |
Inherited methods | |
---|---|
Public constructors
ViewPropertyAnimatorListenerAdapter
public ViewPropertyAnimatorListenerAdapter ()
Public methods
onAnimationCancel
public void onAnimationCancel (View view)
Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
Parameters | |
---|---|
view |
View : The view associated with the ViewPropertyAnimator
|
onAnimationEnd
public void onAnimationEnd (View view)
Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
Parameters | |
---|---|
view |
View : The view associated with the ViewPropertyAnimator
|
onAnimationStart
public void onAnimationStart (View view)
Notifies the start of the animation.
Parameters | |
---|---|
view |
View : The view associated with the ViewPropertyAnimator
|