Ive been looking to see a method to see if a CountDownTimer is running or not, but I cant find a way to, any help would be greatly appreciated
if (position =
Just put a boolean flag which indicate that by following code
boolean
boolean isRunning = false; mCountDown = new CountDownTimer((300 * 1000), 1000) { public void onTick(long millisUntilFinished) { isRunning = true; //rest of code } public void onFinish() { isRunning= false; //rest of code } }.start();