首页 > 移动平台 > 详细

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

时间:2015-02-11 20:36:17      阅读:694      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!