Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

SimpleAnimatorListener

public class SimpleAnimatorListener
extends Object implements Animator.AnimatorListener

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


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

From class java.lang.Object
From interface android.animation.Animator.AnimatorListener

Public constructors

SimpleAnimatorListener

SimpleAnimatorListener ()

Public methods

onAnimationCancel

void onAnimationCancel (Animator animator)

Parameters
animator Animator

onAnimationComplete

void onAnimationComplete (Animator animator)

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

Parameters
animator Animator

onAnimationEnd

void onAnimationEnd (Animator animator)

Parameters
animator Animator

onAnimationRepeat

void onAnimationRepeat (Animator animator)

Parameters
animator Animator

onAnimationStart

void onAnimationStart (Animator animator)

Parameters
animator Animator

wasCanceled

boolean wasCanceled ()

Provides information if the animation was cancelled.

Returns
boolean True if animation was cancelled.