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 | |
---|---|
![]()
java.lang.Object
| |
![]()
android.animation.Animator.AnimatorListener
|
Public constructors
SimpleAnimatorListener
SimpleAnimatorListener ()
Public methods
onAnimationComplete
void onAnimationComplete (Animator animator)
Called when the animation finishes. Not called if the animation was canceled.
Parameters | |
---|---|
animator |
Animator |
wasCanceled
boolean wasCanceled ()
Provides information if the animation was cancelled.
Returns | |
---|---|
boolean |
True if animation was cancelled. |
Annotations
Interfaces
- ActionChooserView.ActionChooserListener
- ConfirmationOverlay.FinishedAnimationListener
- DelayedConfirmationView.DelayedConfirmationListener
- GridPageOptions
- GridPageOptions.BackgroundListener
- GridViewPager.OnAdapterChangeListener
- GridViewPager.OnPageChangeListener
- WatchViewStub.OnLayoutInflatedListener
- WearableListView.ClickListener
- WearableListView.OnCenterProximityListener
- WearableListView.OnCentralPositionChangedListener
- WearableListView.OnScrollListener
Classes
- ActionChooserView
- ActionLabel
- ActionPage
- BoxInsetLayout
- BoxInsetLayout.LayoutParams
- CardFragment
- CardFrame
- CardScrollView
- CircledImageView
- CircularButton
- ConfirmationOverlay
- CrossfadeDrawable
- CurvedChildLayoutManager
- DefaultOffsettingHelper
- DelayedConfirmationView
- DismissOverlayView
- DotsPageIndicator
- FragmentGridPagerAdapter
- GridPagerAdapter
- GridViewPager
- GridViewPager.LayoutParams
- ProgressSpinner
- SimpleAnimatorListener
- SwipeDismissFrameLayout
- SwipeDismissFrameLayout.Callback
- WatchViewStub
- WearableFrameLayout
- WearableFrameLayout.LayoutParams
- WearableListView
- WearableListView.Adapter
- WearableListView.GenericAdapter
- WearableListView.ViewHolder
- WearableRecyclerView
- WearableRecyclerView.ChildLayoutManager
- WearableRecyclerView.OffsettingHelper