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


interface OnAnimationUpdateListener

Implementors of this interface can add themselves as update listeners to an DynamicAnimation instance to receive callbacks on every animation frame, after the current frame's values have been calculated for that DynamicAnimation.


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

Notifies the occurrence of another frame of the animation.

Public methods


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

Notifies the occurrence of another frame of the animation.

animation DynamicAnimation<DynamicAnimation<*>!>!: animation that the update listener is added to
value DynamicAnimation<DynamicAnimation<*>!>!: the current value of the animation
velocity DynamicAnimation<DynamicAnimation<*>!>!: the current velocity of the animation