ViewPropertyAnimatorListener
interface ViewPropertyAnimatorListener
androidx.core.view.ViewPropertyAnimatorListener |
An animation listener receives notifications from an animation. Notifications indicate animation related events, such as the end or the start of the animation.
Summary
Public methods | |
---|---|
abstract Unit |
onAnimationCancel(view: View!) Notifies the cancellation of the animation. |
abstract Unit |
onAnimationEnd(view: View!) Notifies the end of the animation. |
abstract Unit |
onAnimationStart(view: View!) Notifies the start of the animation. |
Public methods
onAnimationCancel
abstract 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
abstract 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 |