public interface

DynamicAnimation.OnAnimationEndListener

 androidx.dynamicanimation.animation.DynamicAnimation.OnAnimationEndListener

Overview

An animation listener that receives end notifications from an animation.

Summary

Methods
public voidonAnimationEnd(DynamicAnimation animation, boolean canceled, float value, float velocity)

Notifies the end of an animation.

Methods

public void onAnimationEnd(DynamicAnimation animation, boolean canceled, float value, float velocity)

Notifies the end of an animation. Note that this callback will be invoked not only when an animation reach equilibrium, but also when the animation is canceled.

Parameters:

animation: animation that has ended or was canceled
canceled: whether the animation has been canceled
value: the final value when the animation stopped
velocity: the final velocity when the animation stopped