Hi all,

I have a Handler implementation that is used in my Activity.

While handling the messages, there's a value of "msg.what" which makes my
Activity to finish itself.

My problem is that, when that "killer" message arrives, there's another one
in the message queue also destined to my handler.

In this case, what happens if I just finish my Activity?

I could see that no exception raised.  But, who will handle this lost
message since its Handler no longer exists?

** I have another Activity receiving messages containing the same data as
the killer one. So, [ I think ] I can't use "removeMessage(what, obj)".

Taísa

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to