码迷,mamicode.com
首页 > 移动开发 > 详细

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

时间:2015-02-11 20:38:27      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

1

runOnUiThread(new Runnable() {
                
                @Override
                public void run() {
                    // TODO Auto-generated method stub
                    Log.i(tag, "will-success-update");

                    adapter.addItem((Will)reason);
                }
            });

 

Done

 

android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

标签:

原文地址:http://www.cnblogs.com/xingyyy/p/4286911.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!