protected class AbsActionBarView.VisibilityAnimListener extends Object implements Animator.AnimatorListener
Modifier | Constructor and Description |
---|---|
protected |
VisibilityAnimListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAnimationCancel(Animator animation)
Notifies the cancellation of the animation.
|
void |
onAnimationEnd(Animator animation)
Notifies the end of the animation.
|
void |
onAnimationRepeat(Animator animation)
Notifies the repetition of the animation.
|
void |
onAnimationStart(Animator animation)
Notifies the start of the animation.
|
AbsActionBarView.VisibilityAnimListener |
withFinalVisibility(int visibility) |
public AbsActionBarView.VisibilityAnimListener withFinalVisibility(int visibility)
public void onAnimationStart(Animator animation)
Animator.AnimatorListener
Notifies the start of the animation.
onAnimationStart
in interface Animator.AnimatorListener
animation
- The started animation.public void onAnimationEnd(Animator animation)
Animator.AnimatorListener
Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationEnd
in interface Animator.AnimatorListener
animation
- The animation which reached its end.public void onAnimationCancel(Animator animation)
Animator.AnimatorListener
Notifies the cancellation of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationCancel
in interface Animator.AnimatorListener
animation
- The animation which was canceled.public void onAnimationRepeat(Animator animation)
Animator.AnimatorListener
Notifies the repetition of the animation.
onAnimationRepeat
in interface Animator.AnimatorListener
animation
- The animation which was repeated.Copyright © 2011–2014. All rights reserved.