public abstract class

Animatable2Compat.AnimationCallback

extends java.lang.Object

 java.lang.Object

↳androidx.vectordrawable.graphics.drawable.Animatable2Compat.AnimationCallback

Overview

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

Summary

Constructors
publicAnimationCallback()

Methods
public voidonAnimationEnd(Drawable drawable)

Called when the animation ends.

public voidonAnimationStart(Drawable drawable)

Called when the animation starts.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public AnimationCallback()

Methods

public void onAnimationStart(Drawable drawable)

Called when the animation starts.

Parameters:

drawable: The drawable started the animation.

public void onAnimationEnd(Drawable drawable)

Called when the animation ends.

Parameters:

drawable: The drawable finished the animation.