>
> java.lang.IllegalStateException: The content of the adapter has changed
> but ListView did not receive a notification. Make sure the content of your
> adapter is not modified from a background thread, but only from the UI
> thread. [in ListView(2131099656, class android.widget.ListView) with
> Adapter(class org.vts.android.ItemList$MyListAdapter)]
>

This isn't clear enough?  The adapter changed but the listview didn't
receive a notification of the change.  When the adapter changes you need to
call notifyDataSetChanged()...  Also, if you are doing anything yourself
with threading, you cannot update your listview from a background thread...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Jul 24, 2012 at 1:24 AM, sachin thube <[email protected]> wrote:

> java.lang.IllegalStateException: The content of the adapter has changed
> but ListView did not receive a notification. Make sure the content of your
> adapter is not modified from a background thread, but only from the UI
> thread. [in ListView(2131099656, class android.widget.ListView) with
> Adapter(class org.vts.android.ItemList$MyListAdapter)]
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to