dialog子线程操作UI异常:Only the original thread that created a view hierarchy can touch its views
前言先说一下常规的几种解决方式,在给大家说最近一个遇到的常规方法不能解决的奇葩案例解决方案使用handler,通过handler去sendmessage()修改UI这里就不贴代码了,很简单.利用activity的runOnUiThread方法.runOnUiThread(new Runnable() { @Override public vo