[android-beginners] Re: wait for an animation to end before continuing the program

2009-10-20 Thread Zuli

On Oct 20, 8:57 am, jax  wrote:
> I need to wait for an animation to end before continuing the program.
> How would I do that?
>
> I noticed that I can get a hanndle on hasEnded() but if I run this is
> a do while loop the application will halt.


Try setting an AnimationListener and use the onAnimationEnd method,

Zuli

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: wait for an animation to end before continuing the program

2009-10-20 Thread Agus
use animationlistener

On Mon, Oct 19, 2009 at 11:57 PM, jax  wrote:

>
> I need to wait for an animation to end before continuing the program.
> How would I do that?
>
> I noticed that I can get a hanndle on hasEnded() but if I run this is
> a do while loop the application will halt.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---