I have a countDownTimer and if the user does not hit the gameButton within the 12th second I want the gameOver method called. problem I either get game function called insta
Thread(Runnable {
// background work here ...
Handler(Looper.getMainLooper()).postDelayed(Runnable {
// Update UI here
}, 10000) //it will wait 10 sec before upate ui
}).start()