OK will try and keep this short(ish). I have googled this to death and made a load of changes to my Android app but nothing is solving this one. I am no noobie, 20+ years programming.

Here is my scenario:

Tab Host, 3 tabs
1st tab has a viewflipper, which displays a listview in three distinct lists.

I am updating an ArrayAdapter for each list from an ArrayList, and when I am updating the ArrayList I am calling notifyDataSetChanged.I am also hiding and showing the ListView as a previous suggested fix for this.

BUT...
Every now and again I get the dreaded Force Close with

java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification

I am updating the adapter on the UI thread, in one place. I have added logging all over the place. I am happy to share logs / code, my blood, to solve this one.

I am running out of ideas and my hair is falling out.

Any ideas / suggestions???

If you want to see my app search for PodPlayer in the market. I just want the bloody thing stable.

didnt work, here is the crash report java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. ... [in ListView(2131296280, class android.widget.ListView) with Adapter(class net.msc.PODPlayer.tabLibrary$AlbumArrAdapter)] ... what I can see is that is following tabHost onResume, tabPlayer onResume etc is not being called. I am controlling the updating of the adapter, ANY HELP PLZ. pissing me off
–
malcieJul 7 '11 at 18:08