SimpleAnimatorListener

public class SimpleAnimatorListener
extends Object implements Animator.AnimatorListener

java.lang.Object
   ↳ android.support.wearable.view.SimpleAnimatorListener


This class is deprecated.
use androidx.animation.AnimatorListenerAdapter provided by the Jetpack Animation library instead.

Convenience class for listening for Animator events that implements the AnimatorListener interface and allows extending only methods that are necessary.

Summary

Public constructors

SimpleAnimatorListener()

Public methods

void onAnimationCancel(Animator animator)
void onAnimationComplete(Animator animator)

Called when the animation finishes.

void onAnimationEnd(Animator animator)
void onAnimationRepeat(Animator animator)
void onAnimationStart(Animator animator)
boolean wasCanceled()

Provides information if the animation was cancelled.

Inherited methods

Public constructors

SimpleAnimatorListener

public SimpleAnimatorListener ()

Public methods

onAnimationCancel

public void onAnimationCancel (Animator animator)

Parameters
animator Animator

onAnimationComplete

public void onAnimationComplete (Animator animator)

Called when the animation finishes. Not called if the animation was canceled.

Parameters
animator Animator

onAnimationEnd

public void onAnimationEnd (Animator animator)

Parameters
animator Animator

onAnimationRepeat

public void onAnimationRepeat (Animator animator)

Parameters
animator Animator

onAnimationStart

public void onAnimationStart (Animator animator)

Parameters
animator Animator

wasCanceled

public boolean wasCanceled ()

Provides information if the animation was cancelled.

Returns
boolean True if animation was cancelled.