Most visited

Recently visited

Added in API level 23

Animatable2.AnimationCallback

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)

动画结束时调用。

void onAnimationStart(Drawable drawable)

动画开始时调用。

Inherited methods

From class java.lang.Object

Public constructors

Animatable2.AnimationCallback

Added in API level 23
Animatable2.AnimationCallback ()

Public methods

onAnimationEnd

Added in API level 23
void onAnimationEnd (Drawable drawable)

动画结束时调用。

Parameters
drawable Drawable: The drawable finished the animation.

onAnimationStart

Added in API level 23
void onAnimationStart (Drawable drawable)

动画开始时调用。

Parameters
drawable Drawable: The drawable started the animation.

Hooray!