登录
注册
写文章
首页
下载APP
会员
IT技术
only the original that created a view hierarchy can touch its views
AMrx
关注
赞赏支持
only the original that created a view hierarchy can touch its views
fragment调用activity里的方法,方法里的ui始终没有变化,然后仔细看了下这个错。
解决办法:只需要把你方法里的东西写在runOnUiThread里即可。浪费我半天时间
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读
更多精彩内容
Only the original thread that created a view hi...
原文链接:https://blog.csdn.net/breeze666/article/details/7570...
是我拉叔
阅读 1,198
评论 0
赞 0
Only the original thread that created a view hi...
Only the original thread that created a view hierarchy ca...
令狐达耶
阅读 1,419
评论 0
赞 0
安卓Only the original thread that created a view ...
今天在开发安卓的过程中遇到了一个问题,可能也是新手问题吧,就是Only the original thread t...
追求科技的足球
阅读 15,296
评论 7
赞 5
Only the original thread that created a view hi...
翻译一下标题:只有创建这个view的线程才能操作这个view 这个问题是我在使用RxJava嵌套请求数据时发生的异...
啥也写不出来的安卓技术人员
阅读 1,322
评论 0
赞 0
Only the original thread that created a view hi...
控制控件的view是主线程(个人理解,获取不大准确,从问题翻译上分析得到),要想控制主线程改变view,必须得以主...
颤抖的闪电
阅读 831
评论 0
赞 0
赞
1赞
赞赏
手机看全文