1 private static Handler mHandler = new Handler(){ 2 @Override 3 public void handleMessage(Message msg) 4 { 5 if(msg.what == 0) 6 { 7 //执行操作 8 } 9 } 10 }; 11 12 mHandler.sendEmptyMessageDelayed(0, 0);
关于Only the original thread that created a view hierarchy can touch its views的解决方案
原文:http://www.cnblogs.com/xiaoxiangmomo/p/4940561.html