On Feb 9, 3:41 pm, satish bhoyar <[email protected]> wrote: > Hi all, > > I am trying to work with Timer. My use case is > I am dynamically updating the Layout & after some delay i will be loading > the new updated layout. I put the Timer but it is not working correctly > > this is the timer code > > timer.schedule(new TimerTask() { > public void run() { > //fourcellview(); > fourcellview("A","B","C","D"); > } > }, 1000); > . > Right now it stays in the same for long time. As per explanation of the > method schedule the second param is in milisec. But it stays in same state > for long time. > > thanks > satish
don't use Timers/TimerTasks for UI related stuff, use Handlers/ Messages instead pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

