[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

[android-developers] Re: OOM errors during inflation

2009-04-09 Thread Niek
Why should it keep multiple references to the same View type, if it's only possible to provide a single one as convertView? Either way, I'm very happy to finally understand the inner workings of the Adapter, and it will help create more robust code. Kind regards, - Niek On Apr 9, 8:4

[android-developers] Re: OOM errors during inflation

2009-04-09 Thread Niek
nd is to put all your different rows into one XML, and then use GONE visibility to switch parts on and off depending on the row. However, this may not fix the issue entirely, as you probably still need to inflate again when you flip the screen and the Activity is recreated. Kind regards, - Niek