问题描述:
不停地在两个activity之间跳转,就会出现:
12-13 14:05:17.448: E/AndroidRuntime(6076): 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(2131230720, class android.widget.ListView) with Adapter
(class com.example.listviewdemo.UserListAdapter)]
怎么解决?
没有合适的资源?快使用搜索试试~ 我知道了~
ListView后台更新报错:java.lang.IllegalStateException
共55个文件
class:19个
xml:12个
png:6个
4星 · 超过85%的资源 需积分: 48 100 下载量 7 浏览量
2013-12-13
14:35:31
上传
评论 1
收藏 1.22MB ZIP 举报
温馨提示
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(2131230720, class android.widget.ListView) with Adapter(class com.example.listviewdemo.UserListAdapter)]
资源推荐
资源详情
资源评论
收起资源包目录
listviewdemo.zip (55个子文件)
listviewdemo
bin
classes.dex 615KB
res
crunch
drawable-hdpi
ic_launcher.png 9KB
drawable-xhdpi
ic_launcher.png 14KB
drawable-mdpi
ic_launcher.png 5KB
listviewdemo.apk 245KB
jarlist.cache 120B
dexedLibs
android-support-v4-1d3a00ea380a3881044f8880e11929bb.jar 206KB
classes
com
example
listviewdemo
UserListAdapter$ViewHolder.class 505B
BuildConfig.class 357B
User.class 716B
FirstActivity$MyAsyncTask.class 2KB
R$layout.class 454B
R$id.class 498B
R$drawable.class 425B
FirstActivity$1.class 1KB
SecondActivity$1.class 1KB
R$dimen.class 479B
UserListAdapter.class 3KB
R$attr.class 358B
R$menu.class 406B
FirstActivity.class 3KB
R.class 733B
R$string.class 490B
SecondActivity.class 3KB
R$style.class 449B
SecondActivity$MyAsyncTask.class 2KB
readme.txt 493B
resources.ap_ 32KB
AndroidManifest.xml 1KB
res
drawable-ldpi
values-v11
styles.xml 334B
menu
main.xml 263B
values-v14
styles.xml 391B
drawable-hdpi
ic_launcher.png 9KB
drawable-xhdpi
ic_launcher.png 14KB
values
strings.xml 229B
styles.xml 697B
dimens.xml 220B
values-sw720dp-land
dimens.xml 277B
drawable-mdpi
ic_launcher.png 5KB
values-sw600dp
dimens.xml 203B
layout
list_item.xml 634B
activity_main.xml 396B
proguard-project.txt 781B
assets
gen
com
example
listviewdemo
BuildConfig.java 166B
R.java 3KB
src
com
example
listviewdemo
UserListAdapter.java 2KB
User.java 323B
SecondActivity.java 2KB
FirstActivity.java 2KB
readme.txt 493B
.project 848B
.classpath 475B
project.properties 563B
AndroidManifest.xml 1KB
libs
android-support-v4.jar 543KB
共 55 条
- 1
资源评论
- yangboqing12014-03-20算有用吧!
- thinking_Cheng2014-12-03有一些帮助的
- 蓝色鸣鸟2015-05-12还行,有一些大的帮助?
若鱼1919
- 粉丝: 3205
- 资源: 51
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- SRS-CentOS7-x86-64-5.0-r1.zip
- 全文检索使用ElasticSearch实现全文检索的详细说明和实践探索
- 基于matlab主成分分析图像压缩重建系统代码14
- C语言《基于AT89C52单片机搭建的PID直流电机控制程序,主要用于Proteus电路仿真》+源代码
- C++《基于规划和汽车动力学的自动驾驶项目仿真(基于ROS的自动驾驶项目仿真,使用DWA路径规划算法和双PID控制器)》+源代码
- vos3000客户端2.1.7.03、2.1.8.05、2.1.9.07
- c++《用于船舶控制方法研究的3D船舶运动仿真软件》+源代码
- globalmapper24
- Python 小游戏 (贪吃蛇、五子棋、扫雷、俄罗斯方块)源码.zip
- Map data that can be used for 2D raster map path planning
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功