- 博客(1)
- 资源 (3)
- 收藏
- 关注
原创 通用吐司
安卓开发都知道 Toast不能在子线程使用Toast的使用方式:Toast.makeText(context, msg, Toast.LENGTH_LONG).show()。当在非UI线程使用时会抛出:Can't create handler inside thread that has not called Looper.prepare()异常。 从异常可以看出直接原因是没有调用Looper.pr
2017-05-10 16:50:13 315
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人