How is "pause" implemented with CountDownTimer?
- Call wait()
- Call cancel() and store the remaining time; create a new timer with it to resume
- Set interval to zero
- Call pause()
Answer
B) Call cancel() and store the remaining time; create a new timer with it to resume
CountDownTimer has no pause method.
Computer Science MCQ · More Lab: Countdown Timer MCQs · Practise