首页 > 其他 > 详细

关于Only the original thread that created a view hierarchy can touch its views的解决方案

时间:2015-11-05 20:18:46      阅读:245      评论:0      收藏:0      [点我收藏+]
 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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!