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
onAnimationComplete
public void onAnimationComplete (Animator animator)
Called when the animation finishes. Not called if the animation was canceled.
Parameters | |
---|---|
animator |
Animator |
wasCanceled
public boolean wasCanceled ()
Provides information if the animation was cancelled.
Returns | |
---|---|
boolean |
True if animation was cancelled. |