Friday, April 5, 2013

[android-developers] Re: Bizarre launch behavior for a "standard" launchMode Activity


On Thursday, April 4, 2013 3:35:52 PM UTC-4, skink wrote:


plnelson wrote:
> Note how the LogCat shows* two* instances of the DGraphActivity being
> started - 2 constructors, 2 onCreates.

try to remove *everything* from your DGraphActivity

leave onCreate with Log.d() only and see what happens


Before I do that could you give me some idea why you think that might help or what you think it might reveal?   Keep in mind that with a single startActivity, DGraphActivity never gets created or constructed at all.   So why would what's inside of it have any effect?

--
--
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
---
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment