Using the following sample codes, the app crashes when rotates screen and press the menu button. The app uses ViewPager + Fragments.
http://pastebin.com/LcR2f2uM - Activity http://pastebin.com/tUFThnzr - PageAdapter http://pastebin.com/589zBWLy - Fragment What's happening ? I found these thread about similar cases, but I didn't solve the problem yet. http://stackoverflow.com/questions/9727173/support-fragmentpageradapter-holds-reference-to-old-fragments http://stackoverflow.com/questions/9039877/android-fragment-screen-rotate http://stackoverflow.com/questions/7951730/viewpager-and-fragments-whats-the-right-way-to-store-fragments-state Sorry for English. Thanks and regards, -- 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

