title: How to clear CountDownTimer from onTick method?
body: <p>I have implemented the timer functionality in android app, I able to finish the timer from other local methods by calling <code>timerObject.cancel()</code> . Its working perfectly.</p>
  
  <p>But when I tried to call same in <code>onTick()</code> method for specific condition, i am not able to cancel the timer, it last till the timer time ends.</p>
  
  <p>How can i cancel the timer?</p>