Ok, thanks. I couldn't reproduce this case, so I wasn't sure. I'll handle 
it in other way then.


Am Montag, 25. Februar 2013 17:34:43 UTC+1 schrieb TreKing:
>
>
> On Mon, Feb 25, 2013 at 3:52 AM, user123 <[email protected] <javascript:>
> > wrote:
>
>> And I'm wondering, if there's any case where I can get a null pointer? 
>> Because e.g. the system kills the app while it's in the background, and 
>> tries to restart it in the last screen - since the variable is only 
>> initialized in the launcher screen, it will not be initialized? Does this 
>> case exist?
>>
>
> To answer your question, yes that exact case does exist, so you don't want 
> to initialize your data in the launcher screen.
>
>
> -------------------------------------------------------------------------------------------------
> 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 [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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to