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

关注我
原文地址:https://www.cnblogs.com/zengmianhui/p/12634096.html