摘要: 很多刚学习android的人,都不太熟悉用handler更新主线程ui的具体原理,本文将给你讲述! 1 public class MainActivity extends Activity { 2 Button button; 3 TextView textview; 4 ProgressBar progressBar; 5 MyHandler mhandler; 6 MyThread mthread; 7 /** Called when the activity is first created. */ 8 @Override 9 ... 阅读全文
posted @ 2011-11-01 15:07 android卐解 阅读(546) 评论(4) 推荐(0)