android.support.wearable.view
Class SimpleAnimatorListener

java.lang.Object
  extended by android.support.wearable.view.SimpleAnimatorListener

public class SimpleAnimatorListener
extends java.lang.Object

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


Constructor Summary
SimpleAnimatorListener()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAnimatorListener

public SimpleAnimatorListener()
Method Detail

onAnimationCancel

public void onAnimationCancel(Animator animator)

onAnimationEnd

public void onAnimationEnd(Animator animator)

onAnimationRepeat

public void onAnimationRepeat(Animator animator)

onAnimationStart

public void onAnimationStart(Animator animator)

onAnimationComplete

public void onAnimationComplete(Animator animator)
Called when the animation finishes. Not called if the animation was canceled.


wasCanceled

public boolean wasCanceled()
Provides information if the animation was cancelled.

Returns:
True if animation was cancelled.