codelab-android-paging
codelab-android-paging copied to clipboard
How to load room data first after reopening the app
After I saved the remote response from RemoteMediator to the room. The next time open the app how can I load data first while waiting for a remote response. Because we have the cache data already, but every time opens the app, it looks like we have an empty list while loading remote data. If I turn the network off and reopen the app, I will see cache data immediately.