I have a listview where users insert their task for the day, after the task is created the is a timer in each task that keeps track of how long the user has been doing the task. The timer runs well, my issue is keeping the state of the timer of each task when the user navigates to other pages or when they logoff the app.
Asked
Active
Viewed 124 times
1

Phuluso Ramulifho
- 438
- 4
- 19
-
2Just store the start date somewhere (hint use UTC format) – Orace Jan 27 '20 at 16:30
-
Where should I store the start date? – Phuluso Ramulifho Jan 27 '20 at 16:32
-
Maybe this : https://stackoverflow.com/questions/31655327/how-can-i-save-some-user-data-locally-on-my-xamarin-forms-app – Orace Jan 27 '20 at 16:34
-
So should I store the start date of each item in the list? – Phuluso Ramulifho Jan 27 '20 at 16:39
-
1if each item has a different start time, then yes – Jason Jan 27 '20 at 17:39