treecounter-app icon indicating copy to clipboard operation
treecounter-app copied to clipboard

App data and refresh management

Open norbertschuler opened this issue 5 years ago • 2 comments

One app architecture issue: I am missing something like a refresh function in iOS and Android e.g. to update the following list once the app has loaded. If my data gets changed (e.g. using the website) the data should also somehow be refreshed in the app without restarting the app.

Screenshot_1560338649

From native development a good method would be for example: Trigger API requests in the background (e.g. "AsyncTask") on entering a screen and send update events (e.g. with ReactiveX) about new data to the UI if the request succeeded. Also if the user likes it a Swipe-Down functionality to refresh the content is sometimes used in an app.

norbertschuler avatar Jun 18 '19 15:06 norbertschuler