public interface

DynamicAnimation.OnAnimationUpdateListener

 androidx.dynamicanimation.animation.DynamicAnimation.OnAnimationUpdateListener

Overview

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

Methods
public voidonAnimationUpdate(DynamicAnimation animation, float value, float velocity)

Notifies the occurrence of another frame of the animation.

Methods

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

Notifies the occurrence of another frame of the animation.

Parameters:

animation: animation that the update listener is added to
value: the current value of the animation
velocity: the current velocity of the animation