Only the original thread that created a view hierarchy can touch its views的解决方案

主要是因为在子线程中对UI组件进行了操作,使用mHandler.sendEmptyMessageDelayed(args, 0)等方法,通过handler在UI线程中对UI进行操作就可以了。

posted @ 2015-11-20 10:56  安谧世界  阅读(151)  评论(0编辑  收藏  举报