How to adding a delay before the Countdowntimer starts?
I'm trying to add a 2 second delay without locking the main thread every time a resume is called in the countdown timer. Without adding a delay, this below works perfectly, but when I add a delay, the main thread hangs. Every time I call resume and add delay with sendmessage delay, the thread hang. How can I add a 2 second delay just every time a resume is called without breaking the main timer ?
abstract class CountDownTimer(
* Real time remaining until timer completes...