Hi, Thanks for ur relpy...
you have mentioned "Post anevent to handler and invalidate. " What is the meaning for that?.. can u pls explain?... On Dec 3, 7:07 pm, sathya subbiah <sathya.subbia...@gmail.com> wrote: > invalidate does not work in timer class as it is a seperate thread. Post an > event to handler and invalidate. > > On Thu, Dec 3, 2009 at 8:47 AM, manoj <manojkumar.m...@gmail.com> wrote: > > just call the invalidate()/ postInvalidate() in the timer class. > > > The invalidate()/postinvalidate() will call onDraw() implicitly. You > > cant directly call onDraw(). > > > On Dec 3, 6:38 pm, "Sasikumar.S" <sasikumar.it1...@gmail.com> wrote: > > > Hi, > > > > I need, > > > > I'm using a class extends with view. > > > I'm using timer in that class. > > > I'm using onTouchEvent() also. > > > I onTouchEvent() i'm using invalidate(). > > > So it is calling onDraw(). > > > > When i use invalidate() in Timer. > > > It is not calling onDraw(). Why?.... > > > > -- > > > Thanks & Regards > > > Sasikumar.S > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en