使用activity.runOnUiThread(new Runnable() {} 方法去解决 转载于:https://www.cnblogs.com/LambertL/p/10021583.html