On Tue, Oct 11, 2011 at 11:34 AM, kaciula <catalin.moro...@gmail.com> wrote: > Here you go: https://github.com/kaciula/BugRetain > It uses a CursorLoader to take 2 values from a database through a content > provider and shows them on screen. Press the button to move to a second > activity, then press BACK and then switch orientation of device. The values > from db are no longer showing.
I can definitely reproduce the problem. It feels like a bug with the Android Compatibility Library. If I switch your sample to use API Level 11 and the built-in fragment implementation, it works successfully, at least in the emulator. One icky workaround: use android:configChanges. I have filed an issue on this: http://code.google.com/p/android/issues/detail?id=20791 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.6 Available! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en