Count Down Timer

suggest change

Parameters

Parameter Details
long millisInFuture Total time the timer runs, in milliseconds.
long countDownInterval How often onTick is called, in milliseconds.
long millisUntilFinished Argument to onTick with the time still left, in milliseconds.

Remarks

CountDownTimer only starts and cancels. Pause and resume have to be built on top of that, as in the later example. For a timer that runs until you stop it, use Timer.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents