Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

DynamicAnimation.OnAnimationUpdateListener

public static interface DynamicAnimation.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 void onAnimationUpdate(DynamicAnimation animation, float value, float velocity)

Notifies the occurrence of another frame of the animation.

Public methods

onAnimationUpdate

public abstract void onAnimationUpdate (DynamicAnimation animation, 
                float value, 
                float velocity)

Notifies the occurrence of another frame of the animation.

Parameters
animation 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