- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 Only the original thread that created a view hierarchy can touch its views. 是怎么产生的
我们都知道,在Android里面,只有主线程(MainThread)才可以更新ui,比如设置TextView的文本内容,ImageView的图片等等。只要我们在非主线程去操作ui界面,就是抛出"Only the original thread that created a view hierarchy can touch its views."的异常。那么这个异常时怎么抛出来的呢?
2016-05-11 14:23:23
3565
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人