[android-developers] Re: can we assure that Application#onCreate always runs before the Provier#onCreate and Activity#onCreate

2008-11-25 Thread Dianne Hackborn
I wouldn't count on one or the other. For your problem, just have a global singleton for accessing the data, and retrieve that everywhere you need it. The first one who gets it will initialize it. On Mon, Nov 24, 2008 at 9:16 PM, magicpig [EMAIL PROTECTED] wrote: Hi, I have a

[android-developers] Re: can we assure that Application#onCreate always runs before the Provier#onCreate and Activity#onCreate

2008-11-25 Thread magicpig
Thanks. Can we assure application#OnCreate run before activity#onCreate ? On Nov 25, 10:25 am, Dianne Hackborn [EMAIL PROTECTED] wrote: I wouldn't count on one or the other.  For your problem, just have a global singleton for accessing the data, and retrieve that everywhere you need it. The