Android CountDownTimer Class Lagging Main Thread
问题 I am trying to use android.os.CountDownTimer to literally show a countdown timer via a textview for fitness purposes. The issue I am having is the timer seems to be having trouble running on the main thread i.e. the countdown will jump 2-4 secs and is clearly being "lagged" - the timer is intended to be in an endless loop until a stop button is pressed. I am new to Java and Android and cannot figure out how to get the countdown timer running and updating the UI without any conflicts or