1.通过handler发送post一个Runnable对象来实现 2.通过runOnUiThread(new Runnable(){})来实现 3.使用view的post(new Runnable(){})来实现