added in version 25.4.0
belongs to Maven artifact com.android.support:support-dynamic-animation:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-dynamic-animation:28.0.0-alpha1
DynamicAnimation.OnAnimationUpdateListener
public
static
interface
DynamicAnimation.OnAnimationUpdateListener
android.support.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
added in version 25.4.0
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
|