2015/10/30

Android runOnUiThread

Code:
runOnUiThread(new Runnable() {
 @Override
 public void run() {
   editTextName.setText("hi");   
 }
});

參考資料:
http://lak4cyut.blogspot.tw/2011/03/android-tip-activityrunonuithread.html