How to cancel TimerTask which has been finished?
<p>I have been developing the Android application and I use Timer. But there is a one problem - if I cancel a Timer object which has been finished already then I have got a RuntimeException. How can I check a timer before using?</p>
