특정 시간후에 코드 실행하기
# Handler new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { @Override public void run() { // 실행코드 } }, 1000); # Timer new Timer().schedule(new TimerTask() { @Override public void run() { // 실행코드 } }, 1000); # ScheduledExecutorService private static final ScheduledExecutorService worker = Executors.newSingleThreadScheduledExecutor(); Runnable runnable = new Runnable() { public void..
2022.05.03