Animatable2Compat.AnimationCallback


public abstract class Animatable2Compat.AnimationCallback


Abstract class for animation callback. Used to notify animation events.

Summary

Public constructors

Public methods

void

Called when the animation ends.

void

Called when the animation starts.

Public constructors

AnimationCallback

Added in 1.0.0
public AnimationCallback()

Public methods

onAnimationEnd

Added in 1.0.0
public void onAnimationEnd(@NonNull Drawable drawable)

Called when the animation ends.

Parameters
@NonNull Drawable drawable

The drawable finished the animation.

onAnimationStart

Added in 1.0.0
public void onAnimationStart(@NonNull Drawable drawable)

Called when the animation starts.

Parameters
@NonNull Drawable drawable

The drawable started the animation.