因為避免 block 到 main thread,所以不用 thread.sleep
new android.os.Handler().postDelayed( () -> Log.i("tag", "This'll run 300 milliseconds later"), 300);
Last updated 4 years ago
Was this helpful?