In this file, fetching the data is only done once, with no options. It uses the default from the SDK for the limit (20), and doesn't implement fetching past that limit.
Additionally, the list doesn't implement a refresh (usual pull to refresh implement in other lists).
This actually explain the bug when a user receives data in the inbox, accept it but it doesn't appear in the data list. This is because, the user has already visited the data screen before accepting the new data, when going back to this screen, it is still mounted because already in the navigation history. As there is no refresh on this screen, the user has no other way than killing the app, restarting it and going again to the data screen to fetch the data with the newly received data item.
In this file, fetching the data is only done once, with no options. It uses the default from the SDK for the limit (20), and doesn't implement fetching past that limit.
Additionally, the list doesn't implement a refresh (usual pull to refresh implement in other lists).
This actually explain the bug when a user receives data in the inbox, accept it but it doesn't appear in the data list. This is because, the user has already visited the data screen before accepting the new data, when going back to this screen, it is still mounted because already in the navigation history. As there is no refresh on this screen, the user has no other way than killing the app, restarting it and going again to the data screen to fetch the data with the newly received data item.