Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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

Notifies the cancellation of the animation.

abstract Unit

Notifies the end of the animation.

abstract Unit

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

onAnimationStart

abstract fun onAnimationStart(view: View!): Unit

Notifies the start of the animation.

Parameters
view View!: The view associated with the ViewPropertyAnimator