How i should implement a countdown timer if i need the following usage:
- User starts activity A;
- In activity A he starts the timer;
- User leaves activity A, timer runs in background;
- User comes back to activity A;
- User see current (updated) values of the timer;
I tried to use a Countdown Timer but it fails at step 5 - after returning to ativity A i cant see values in TextView (in LogCat i do) and system starts another timer (this way, every activity re-open starts one more timer). Should I use service instead or ... show me the way, please.