It turns out that the new revision fixed part of the problem but the bug still remains in some cases.
If you take the code I posted and run it, press the button to launch the new activity, switch orientations only once and then press BACK, it shows the wrong value. The idea is to press BACK from the second activity while it's in a different orientation than the initial activity (if that makes sense). For example, activity A is in portrait, press button, switch orientation of activity B to landscape, press BACK and then enjoy the bug. Looking more deeply at this, it seems that the problem appears only if onLoaderReset() is called. So, if onLoaderReset() is called, subsequent calls to initLoader() launches/reconnects the loader but onLoadFinished() is never again called. -- 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

