Pause CountDownTimer in Android when activity is not in front
You can use pause() to pause the timer and later on Start or Resume the countDownTimer by calling start(). ** * This class uses the native CountDownTimer to * create a timer which could be paused and then * started again from the previous point. You can * provide implementation for onTick() and onFinish() * then use it in your projects.
more
|