public static interface AnimationController.AnimationListener
Modifier and Type | Method and Description |
---|---|
void |
onEnd(AnimationController.AnimationDesc animation)
Gets called when an animation is completed.
|
void |
onLoop(AnimationController.AnimationDesc animation)
Gets called when an animation is looped.
|
void onEnd(AnimationController.AnimationDesc animation)
animation
- The animation which just completed.void onLoop(AnimationController.AnimationDesc animation)
AnimationController.AnimationDesc.loopCount
is updated prior to this call and can be
read or written to alter the number of remaining loops.animation
- The animation which just looped.Copyright © 2014. All Rights Reserved.