[android-developers] Re: Why are the save/restore lifecycle events called twice when switching the emulator from landscape to portrait?

2009-09-28 Thread Lance Nanek
Is this problem the same as described here? http://code.google.com/p/android/issues/detail?id=2423 Might be worth posting that it is still present in 1.6 if so, all the comments look re 1.5. On Sep 28, 6:19 am, Carl Whalley wrote: > Cheers. I think you're right, but this looks just plain wrong.

[android-developers] Re: Why are the save/restore lifecycle events called twice when switching the emulator from landscape to portrait?

2009-09-28 Thread Carl Whalley
Cheers. I think you're right, but this looks just plain wrong. If there was a reason for the double Activity creation it should at least happen in both cases, not just in the landscape to portrait case. Its actually a little worse than that, because I came across this when chasing a "bug" in some

[android-developers] Re: Why are the save/restore lifecycle events called twice when switching the emulator from landscape to portrait?

2009-09-28 Thread skink
On Sep 27, 1:31 pm, Carl Whalley wrote: > This is with the 1.6 & 1.5 SDKs, not tried earlier ones. When you > switch from portrait to landscape the onSaveInstanceState()/ > onRestoreInstanceState() pair are called once, but when going back > from landscape to portrait they are called twice, unl