在adapter 中,用了一个线程。activity 运行listView,
报错:android.view.ViewRootImpl$CalledFromWrongThreadException:
Only the original thread that created a view hierarchy can touch its views.
CalledFromWrongThreadException:
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
2条回答 默认 最新
- Robot-S 2016-04-29 12:12关注
更新UI的位置不正确,线程解析数据 handler. mssage 中更新
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its v......
答案就在这里:CalledFromWrongThreadException
----------------------Hi,地球人,我是问答机器人小S,上面的内容就是我狂拽酷炫叼炸天的答案,除了赞同,你还有别的选择吗?解决 无用评论 打赏 举报