2018年10月21日
摘要: 将new Handle 放入线程中,会报错Can't create handler inside thread that has not called Looper.prepare() 一、为什么呢? 因为toast的实现需要在activity的主线程才能正常工作,所以传统的非主线程不能使toast 阅读全文
posted @ 2018-10-21 13:02 谌桂枝 阅读(340) 评论(0) 推荐(1) 编辑