B.Arunkumar wrote:
> 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.
>

what do you mean by:
"But I find that
handler.postDelayed
(runnable,miilisecs) still
executes"?

if you call postDelayed after removing runnable it is normal that your
runnable will be run

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

Reply via email to