protected class AbstractTabSwitcherLayout.AnimationListenerWrapper
extends android.animation.AnimatorListenerAdapter
| Constructor and Description |
|---|
AnimationListenerWrapper(android.animation.Animator.AnimatorListener listener)
Creates a new animation listener, which increases the number of running animations, when
the observed animation is started, and decreases the number of accordingly, when the
animation is finished.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAnimationCancel(android.animation.Animator animation) |
void |
onAnimationEnd(android.animation.Animator animation) |
void |
onAnimationStart(android.animation.Animator animation) |
onAnimationPause, onAnimationRepeat, onAnimationResumepublic AnimationListenerWrapper(android.animation.Animator.AnimatorListener listener)
listener - The listener, which should be encapsulated, as an instance of the type Animator.AnimatorListener or null, if no listener should be encapsulatedpublic void onAnimationStart(android.animation.Animator animation)
onAnimationStart in interface android.animation.Animator.AnimatorListeneronAnimationStart in class android.animation.AnimatorListenerAdapterpublic void onAnimationEnd(android.animation.Animator animation)
onAnimationEnd in interface android.animation.Animator.AnimatorListeneronAnimationEnd in class android.animation.AnimatorListenerAdapterpublic void onAnimationCancel(android.animation.Animator animation)
onAnimationCancel in interface android.animation.Animator.AnimatorListeneronAnimationCancel in class android.animation.AnimatorListenerAdapter