In my app i have Countdown Timer and dialog box in same class. when someone press quit button dialog box opens and in it 2 buttons yes and no. I want when someone press quit
Just count the seconds yourself on each tick and use them later to create a new timer.