ViewPropertyAnimatorListener
interface ViewPropertyAnimatorListener
ViewPropertyAnimatorListenerAdapter |
This adapter class provides empty implementations of the methods from |
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 functions |
|
|---|---|
Unit |
onAnimationCancel(view: View)Notifies the cancellation of the animation. |
Unit |
onAnimationEnd(view: View)Notifies the end of the animation. |
Unit |
onAnimationStart(view: View)Notifies the start of the animation. |
Public functions
onAnimationCancel
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
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 |
onAnimationStart
fun onAnimationStart(view: View): Unit
Notifies the start of the animation.
| Parameters | |
|---|---|
view: View |
The view associated with the ViewPropertyAnimator |