On Wed, Sep 19, 2012 at 6:54 AM, Heila van der Merwe <heilam...@gmail.com>wrote:

> So just to clarify: the advantage of using a Singleton object will be that
> if the app is killed, the Singleton object can just be recreated when it is
> needed. So you could use a Singleton object in the Application class to
> assure that it will be initialised when it is needed and the Singleton
> object is still global?


Yes, that's the gist.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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