I have this project where there is a timer(countdown timer) in the app but my problem is if the app closes or the phone looses internet connection the timer resets to 0. do you guys have any suggestions on this issue? i want that if the app accidentally closes or looses internet connection the timer will contiue running
Save the Timer deadline in TinyDB and restore it in screen1.initialize
hi thank you for the suggestion but i dont know how to use the tinydb... anyways here is the blocks and the timer that im using
Study the clock Milliseconds value , measured from 1970.
It combines all those time parts you are comparing, in a single number, easy to store.