-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IllegalStateException #46
Comments
Hi, The first line says it all, really: 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. You can for example use the runOnUiThread(...) method to post a runnable to the UI thread where you modify the content of the adapter. It has nothing to do with the PullToRefresh implementation by the way, it's the ListView itself. |
Hi, |
Do you call notifyDataSetChanged() on the adapter? On Thursday, July 31, 2014, lauraoran notifications@github.com wrote:
Erik Wallentinsen Technical Director erik.wallentinsen@infostrada.com 06 52417107 Infostrada Interactive, Meeuwenlaan 98-100, Amsterdam 020 6364870 |
Yes, inside the runOnUiThread I call the adapter notifyDataSetChanged(). |
Hi,
I have the following error:
How can I solve that? I've just implemented the PullToRefreshView like in the sample code.
Thanks
The text was updated successfully, but these errors were encountered: