IllegalStateException in PullToRefreshListView$InternalListViewSDK9
问题 I'm using PullToRefresh library in two activities of my application. I know, this library is deprecated, but it very useful and it can handle refresh genstures not only from top but also bottom. But it have a problem: rarely application crash with this log: 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