Android中的線程睡眠

在android系統中,若需使用到線程睡眠,利用java

SystemClock.sleep(long ms)

減小使用android

Thread.sleep(long ms)

由於此方法會拋出異常,消耗系統資源線程

相關文章
相關標籤/搜索