I have made a countdown timer where I set the time that I want and it counts down this runs in a loop increasing each round once timer hits 0. I have manage to get this working but once I open other apps that force the program to close due and I return to the timer it has lost it current information require me to start from the start.
How would I go about preventing the app from closing and keeping it to continuously run, until the user decides to close the program.
Also I a new to Android coding first program I have made for it. So very new to the whole system.