ViewPropertyAnimatorListenerAdapter
open class ViewPropertyAnimatorListenerAdapter : ViewPropertyAnimatorListener
kotlin.Any | |
↳ | 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 | |
---|---|
<init>() This adapter class provides empty implementations of the methods from |
Public methods | |
---|---|
open Unit |
onAnimationCancel(view: View!) Notifies the cancellation of the animation. |
open Unit |
onAnimationEnd(view: View!) Notifies the end of the animation. |
open Unit |
onAnimationStart(view: View!) Notifies the start of the animation. |
Public constructors
<init>
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.
Public methods
onAnimationCancel
open fun onAnimationCancel(view: View!): Unit
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
open fun onAnimationEnd(view: View!): Unit
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 |