Re: [android-developers] Re: android.app.Application NullPointerException
On Wed, Sep 19, 2012 at 6:54 AM, Heila van der Merwe <heilamvdm@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 - 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+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