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(Drawable drawable)

Called when the animation ends.

Parameters
Drawable drawable

The drawable finished the animation.

onAnimationStart

Added in 1.0.0
public void onAnimationStart(Drawable drawable)

Called when the animation starts.

Parameters
Drawable drawable

The drawable started the animation.