AsyncTask: I removed all possible ui operation in background thread, still got those kind of exception after run 5 or 6 times. please help me.
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(2131427449, class
android.widget.ListView) with Adapter…
ok, It works. I used a handler to add item while publishing progress(i.e. AsyncTask + Handler):