Count Down Timer
suggest changeParameters
| 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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents