[android-developers] IllegalStateException: Can not perform this action after onSaveInstanceState - How to prevent?

2011-09-27 Thread Niek
I'm getting user reports from my app in the market, delivering the following exception: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java: 1109) at android.app.FragmentManagerImp

Re: [android-developers] IllegalStateException: Can not perform this action after onSaveInstanceState - How to prevent?

2011-09-28 Thread Gergely Juhász
try commitAllowingStateLoss instead of commit. But read the documentation carefully. http://developer.android.com/reference/android/app/FragmentTransaction.html#commitAllowingStateLoss() On 27 September 2011 23:51, Niek wrote: > > I'm getting user reports from my app in the market, delivering the