johannilsson/android-pulltorefresh

Throwing an Exception in this Demo

pratikbutani opened this issue · 2 comments

12-05 17:19:34.781: E/AndroidRuntime(8157): FATAL EXCEPTION: main 12-05 17:19:34.781: E/AndroidRuntime(8157): 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(16908298, class com.markupartist.android.widget.PullToRefreshListView) with Adapter(class android.widget.HeaderViewListAdapter)]

I just occurred this issue when I tried to run the example, it happened after a few consecutive pulls to refresh.

Hello,
I am also facing this problem, any one got solution?