Re: [android-developers] IllegalStateException after ListView's adapter has changed

2010-04-07 Thread Jerry Fan
I have a fix for this. Just set the visibility of ur ListView to Gone during update and back to visible after update. By doing so, u can avoid the inconsistency of ur adapter and listView item count. On Mon, Feb 22, 2010 at 3:31 PM, Jayesh Salvi jayeshsa...@gmail.com wrote: Hi, This is

[android-developers] IllegalStateException after ListView's adapter has changed

2010-02-21 Thread Jayesh Salvi
Hi, This is regarding the exception: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. - seen on Android 1.6+ This problem has been discussed in the past [1][2][3][4], and I have followed all the solutions suggested in those