Synchronizing data with WorkManager #1884
Unanswered
dohonghuan
asked this question in
Q&A
Replies: 1 comment
-
I think its fair to say it’s the cons using workmanager with that scheme. The good thing about that scheme in comparison with sync data in the first screen, Regarding it shows old data, one approach is to tell the user by showing " it’s outdated and that we’re fetching new data" a kind of message. In the end, I think this is not a one fit for all solution |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I read WorkManager in offline-first apps topic and viewed Nia's source code many times. But there is one thing confusing me:
If the synchronization takes long time, screen will displays a outdated data - Does it is a cons of synchronzing by using WorkManager? Therefore, instead of synchronzing by WorkManager when starting up app in Application, I can synchronize data in the first app's screen.
Beta Was this translation helpful? Give feedback.
All reactions