hi,

in fact the question relates to Toast.show(), but after looking into
the code it seems that INotificationService and its enqueueToast() may
steal toast's reference for a long time since when i run my Activity
several times wirhout Toast, Activity.getInstanceCount() returns
always 1 or 2, while when using Toast.show() Activity.getInstanceCount
() increments each time i run Activity and after long time is gc()'ed

so how can avoid that reference stealing?

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