On Jul 3, 12:43 pm, skink <[email protected]> wrote:
> On Jul 3, 12:23 pm, hmmm <[email protected]> wrote:
>
> > Is the following true: it is preferrable to always pass Applicatioon
> > Context to any Toasts within the application?
>
> based on my latest test i made: yes, app context is only one so
> android 'leaks' only Application, but in fact its not leak since
> Application is also singleton and lives during the whole process
> anyway.
and since Toast internally uses notification service the same may
apply to Notifications but i didn't check it yet
thanks
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
-~----------~----~----~----~------~----~------~--~---