Android AnimationDrawable and knowing when animation ends

Posted by LostDroid on Stack Overflow See other posts from Stack Overflow or by LostDroid
Published on 2010-02-06T21:07:35Z Indexed on 2010/05/27 15:11 UTC
Read the original article Hit count: 429

Filed under:

I want to do an animation with several image-files, and for this the AnimationDrawable works very well. However, I need to know when the animation starts and when it ends (i.e add a listener like the Animation.AnimationListener). After having searched for answers, I'm having a bad feeling the AnimationDrawable does not support listeners..

Does anyone know how to do frame-by-frame image animation on Android?

© Stack Overflow or respective owner

Related posts about android