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

1

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

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

 

Done

 

posted @ 2015-02-11 20:07  行云有影  阅读(2419)  评论(0编辑  收藏  举报