Android APIs
public static abstract class

Animatable2.AnimationCallback

extends Object
java.lang.Object
   ↳ android.graphics.drawable.Animatable2.AnimationCallback

Summary

Public Constructors
Animatable2.AnimationCallback()
Public Methods
void onAnimationEnd(Drawable drawable)
Called when the animation ends.
void onAnimationStart(Drawable drawable)
Called when the animation starts.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Animatable2.AnimationCallback ()

Added in API level 23

Public Methods

public void onAnimationEnd (Drawable drawable)

Added in API level 23

Called when the animation ends.

Parameters
drawable The drawable finished the animation.

public void onAnimationStart (Drawable drawable)

Added in API level 23

Called when the animation starts.

Parameters
drawable The drawable started the animation.