I have an app with dynamic Card views. And it is behaving strangely. It has a timer, which seems to work even in the background (even when the screen is off), but at a much slower rate. But comparing the state of the timer before minimizing (and offing the screen) and after reopening, I can confirm that the timer still sort of runs in the background but much slower. How do I fix this?
Also, after minimizing the app and it would work for around 30 minutes (timer runs slowly), but if I open it about 2 hours later, it seems like the app is completely reset, all my dynamic card views are gone! How do I prevent this from happening? This is also a pain since I have timer that needs to run in the cards.