Currently, the app polls the server-timer list every second for a given child. However, the pulls are only working for timers right now and are implemented in a clumsy way within a UI-class.
The current design does not implement good practices like exponential backoff in case servers are overloaded.
In addition, it would be great to be able to poll other things than just timers (timelines, children lists, etc) and react to changes of those as well.
The polling logic should be extracted and made more effective/approachable.
Currently, the app polls the server-timer list every second for a given child. However, the pulls are only working for timers right now and are implemented in a clumsy way within a UI-class.
The current design does not implement good practices like exponential backoff in case servers are overloaded.
In addition, it would be great to be able to poll other things than just timers (timelines, children lists, etc) and react to changes of those as well.
The polling logic should be extracted and made more effective/approachable.