android - Get a repetition count of an animation -


Is there any other way of doing our own counter to learn that the animation has been repeated? (To produce different effects on the basis of repeated and repeated.)

If you Animation in yourAnim.setRepeatMode (animation. RESTART); (RESTART-mode) Then you can set a repeat counter on the animation or animation set.

  yourAnim setRepeatCount (Animation.INFINITE); YourView.startAnimation (yourAnim);  

When you set your repeat count, you can control the number of repeats in the animation. After this we have set the repeating counter for indefinitely.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -