Hi,
Thank you for your reply. This is roughly the framework of code I
am using:
Main Thread :-
Handler handler = new Handler();
handler.postDelayed (runnable,miilisecs);
Another Thread :-
handler.removeCallbacks(runnable)
But I find that handler.postDelayed (runnable,miilisecs) still
executes after handler.removeCallbacks(runnable) is executed in the
other thread.
Thank you,
B.Arunkumar
On Jul 3, 3:49 pm, skink <[email protected]> wrote:
> B.Arunkumar wrote:
> > Hi,
>
> > Sometimes, handler.removeCallbacks(runnable) does not remove the
> > callback after handler.postDelayed(runnables,millisecs) is executed
> > and the handler.postDelayed again gets executed after some time. Can
> > somebody let me know how to solve this problem?
>
> it just works ok. post your code how you call both methods
>
> 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