treecounter-app
treecounter-app copied to clipboard
App data and refresh management
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.
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.