Only the original thread that created a view hierarchy can touch its views的解决方案

主要是因为在子线程中对UI组件进行了操作,使用mHandler.sendEmptyMessageDelayed(args, 0)等方法,通过handler在UI线程中对UI进行操作就可以了。

原文地址:https://www.cnblogs.com/chenlong-50954265/p/4980052.html