ViewPropertyAnimatorListener

Added in 1.1.0

interface ViewPropertyAnimatorListener

Known direct subclasses
ViewPropertyAnimatorListenerAdapter

This adapter class provides empty implementations of the methods from 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 functions

Unit

Notifies the cancellation of the animation.

Unit

Notifies the end of the animation.

Unit

Notifies the start of the animation.

Public functions

onAnimationCancel

Added in 1.1.0
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

Added in 1.1.0
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

Added in 1.1.0
fun onAnimationStart(view: View): Unit

Notifies the start of the animation.

Parameters
view: View

The view associated with the ViewPropertyAnimator