android ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hi

E/AndroidRuntime(1456): android.view.ViewRootImpl$CalledFromWrongThreadException:
Only the original thread that created a view hierarchy can touch its views.

子线程不能更新UI

子线程不直接更新UI,必须通知UI线程(主线程)去更新UI

posted @ 2016-07-01 17:50  iszengmh  阅读(147)  评论(0编辑  收藏  举报