public class

SimpleAnimatorListener

extends Object
implements Animator.AnimatorListener

Note: The Wearable Support Library classes under the android.support.wearable package are subject to change. For the full Android API reference, see Reference.

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.animation.Animator.AnimatorListener

Public Constructors

public SimpleAnimatorListener ()

Public Methods

public void onAnimationCancel (Animator animator)

public void onAnimationComplete (Animator animator)

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

public void onAnimationEnd (Animator animator)

public void onAnimationRepeat (Animator animator)

public void onAnimationStart (Animator animator)

public boolean wasCanceled ()

Provides information if the animation was cancelled.

Returns
  • True if animation was cancelled.