[android-developers] Re: ListView/Adapter IllegalStateException

2010-04-28 Thread ionel
This isn't a solution for me, but thanks. On Apr 7, 4:55 pm, Jerry Fan jerryfan1...@gmail.com wrote: 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

Re: [android-developers] Re: ListView/Adapter IllegalStateException

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 Wed, Mar 31, 2010 at 4:35 PM, ionel ionelt2...@gmail.com wrote: I am calling

[android-developers] Re: ListView/Adapter IllegalStateException

2010-03-31 Thread ionel
I am calling notifyDataSetChanged() in update method On Mar 30, 11:36 pm, social hub shubem...@gmail.com wrote: prob u need to call notifyDataSetChanged if data is changed. See if that helps On Tue, Mar 30, 2010 at 3:15 PM, ionel ionelt2...@gmail.com wrote: I've implemented a custom