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


interface OnAnimationEndListener

An animation listener that receives end notifications from an animation.


Public methods
abstract Unit
onAnimationEnd(animation: DynamicAnimation<DynamicAnimation<*>!>!, canceled: Boolean, value: Float, velocity: Float)

Notifies the end of an animation.

Public methods


abstract fun onAnimationEnd(animation: DynamicAnimation<DynamicAnimation<*>!>!, canceled: Boolean, value: Float, velocity: Float): Unit

Notifies the end of an animation. Note that this callback will be invoked not only when an animation reach equilibrium, but also when the animation is canceled.

animation DynamicAnimation<DynamicAnimation<*>!>!: animation that has ended or was canceled
canceled DynamicAnimation<DynamicAnimation<*>!>!: whether the animation has been canceled
value DynamicAnimation<DynamicAnimation<*>!>!: the final value when the animation stopped
velocity DynamicAnimation<DynamicAnimation<*>!>!: the final velocity when the animation stopped