protected static class ViewPropertyAnimatorTest.FutureReleaseListener extends AnimatorListenerAdapter
Constructor and Description |
---|
ViewPropertyAnimatorTest.FutureReleaseListener(FutureWaiter future) |
ViewPropertyAnimatorTest.FutureReleaseListener(FutureWaiter future,
long timeout)
Variant constructor that auto-releases the FutureWaiter after the specified timeout.
|
Modifier and Type | Method and Description |
---|---|
void |
onAnimationEnd(Animator animation)
Notifies the end of the animation.
|
onAnimationCancel, onAnimationRepeat, onAnimationStart
public ViewPropertyAnimatorTest.FutureReleaseListener(FutureWaiter future)
public ViewPropertyAnimatorTest.FutureReleaseListener(FutureWaiter future, long timeout)
future
- timeout
- public void onAnimationEnd(Animator animation)
AnimatorListenerAdapter
Notifies the end of the animation. This callback is not invoked for animations with repeat count set to INFINITE.
onAnimationEnd
in interface Animator.AnimatorListener
onAnimationEnd
in class AnimatorListenerAdapter
animation
- The animation which reached its end.