The content of the adapter has changed but ListView did not receive a notification
来源:互联网 发布:网络调试面试题 编辑:程序博客网 时间:2024/06/06 23:16
在Android编程中使用Adapter时,偶尔会出现如下错误:
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。
看了网上好几个帖子
http://bbs.csdn.net/topics/390286824
http://www.eoeandroid.com/thread-79950-1-1.html
http://blog.csdn.net/garybook/article/details/7498342
http://gundumw100.iteye.com/blog/1738829
最直接有效的就是 从线程新获得的新数据先传到主线程,不要直接在子线程中为其赋值.
0 0
- listview提示The content of the adapter has changed but ListView did not receive a notification
- ListView异常:The content of the adapter has changed but ListView did not receive a notification
- ListView The content of the adapter has changed but ListView did not receive a notification.
- The content of the adapter has changed but ListView did not receive a notification.
- The content of the adapter has changed but ListView did not receive a notification
- 解决bug:The content of the adapter has changed but ListView did not receive a notification
- The content of the adapter has changed but ListView did not receive a notification
- The content of the adapter has changed but ListView did not receive a notification.
- The content of the adapter has changed but ListView did not receive a notification
- .解决bug:The content of the adapter has changed but ListView did not receive a notification .
- The content of the adapter has changed but ListView did not receive a notification终极解决方法
- 处理The content of the adapter has changed but ListView did not receive a notification异常
- The content of the adapter has changed but ListView did not receive a notification错误分析
- The content of the adapter has changed but ListView did not receive a notification 异常解析
- 处理The content of the adapter has changed but ListView did not receive a notification异常
- The content of the adapter has changed but ListView did not receive a notification终极解决方法
- The content of the adapter has changed but ListView did not receive a notification
- The content of the adapter has changed but ListView did not receive a notification.
- maven入门
- Android Touch事件传递机制解析
- C++运算符重载的方法详细解析
- 2012年5月SAT香港真题解析
- WebLogic 将部署的项目删除之后,重启报错
- The content of the adapter has changed but ListView did not receive a notification
- Struts2的国际化实现
- Linux内核驱动之GPIO子系统
- 各种远程通信协议分析、比较
- Simpler is Better
- 操作系统的内核
- 织梦dedecms — 调用第一张原图
- iOS下使用FFMPEG的一些总结
- Foundation基础 --- NSString类