Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

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 end of the animation.

abstract Unit

Notifies the cancellation of the animation.

abstract Unit

Notifies the start of the animation.

Public methods

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

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

onAnimationStart

abstract fun onAnimationStart(view: View!): Unit

Notifies the start of the animation.

Parameters
view View!: The view associated with the ViewPropertyAnimator