ScheduledThreadPoolExecutor only “ticking” once
问题 I was using a CountDownTimer for some countdown functionality I have in my Activity . I decided to move away from CountDownTimer and use ScheduledThreadPoolExecutor because CountDownTimer s can't cancel themselves in onTick() . For some reason, my Runnable in the following code only executes once. I'm not sure why it isn't executing multiple times. The destroyCountdownTimer() function is not getting hit. private ScheduledThreadPoolExecutor mCountdownTimer; private Tick mTick; class Tick