android.support.wearable.view
Class SimpleAnimatorListener
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAnimatorListener
public SimpleAnimatorListener()
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.