I to restart a CountDownTimer. I read a lot of question here but no one of the answer helped me. When I use the following code
if(Const.counter != null){
I did some different trick here. Hope this will help you.
if (myCountDownTimer != null) { myCountDownTimer.cancel(); } myCountDownTimer = new MyCountDownTimer(10000, 500); myCountDownTimer.start();