标签:ble 实例 ide nbsp runnable class span tde and
handler.postDelayed(myRunnable,1000)是为了轮播图片,每隔1000ms后执行一次run方法,实现轮播
实例如下:
public void MesageColse(){ Runnable runnable=newRunnable(){ @Override public void run(){ message_show.setText(""); } }; Handler myHandler=newHandler(); myHandler.postDelayed(runnable,3000); }
Handler的postDelayed(Runnable, long)
标签:ble 实例 ide nbsp runnable class span tde and
原文地址:https://www.cnblogs.com/xmyjcs/p/10423244.html