Google berkomitmen untuk mendorong terwujudnya keadilan rasial bagi komunitas Kulit Hitam. Lihat caranya.

OnAnimationUpdateListener

interface OnAnimationUpdateListener
androidx.dynamicanimation.animation.DynamicAnimation.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.

Summary

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

Notifies the occurrence of another frame of the animation.

Public methods

onAnimationUpdate

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

Notifies the occurrence of another frame of the animation.

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