Android非UI线程更新UI的几种方法
Android用于实现非UI线程与UI线程的交互方法如下:
1、Handler
2、Activity.runOnUIThread(Runnable)
3、View.Post(Runnable)
4、View.PostDelayed(Runnabe,long)
5、AsyncTask
Android用于实现非UI线程与UI线程的交互方法如下:
1、Handler
2、Activity.runOnUIThread(Runnable)
3、View.Post(Runnable)
4、View.PostDelayed(Runnabe,long)
5、AsyncTask