[android-developers] live singleton after ending activity
Hi Firends,
I have a singleton in an activity. When I end my application (like
pressing back button), and start it again after some time, the
singleton is not recreated, but is holding previous state. Singleton
is not destroyed if the application is destroyed? Do I have to null
its static members in onDestroy() to avoid memory leak? Thanks.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home