You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually, in apps, there are some tasks that we run in the background, such as syncing of data, analytics etc. Google suggested to use deferrable components such as WorkManager and JobScheduler in such instances.
Where do these components fit in Clean Architecture?
The text was updated successfully, but these errors were encountered:
KwabenBerko
changed the title
Where do WorkManager, JobManager Fit?
Where do WorkManager, JobScheduler Fit?
Dec 7, 2020
I have got really confused too.
If we make another layer, called worker layer like device layer.
Does worker layer suppose to work with data layer directly ? If yes, there would be some business logic in worker layer that is not good.
I only ever use just 3 layers, at least 80% of the time(presentation, domain, data).
Also, I ended up putting my WorkManager implementation behind an abstraction and placed it in the data layer.
Usually, in apps, there are some tasks that we run in the background, such as syncing of data, analytics etc. Google suggested to use deferrable components such as WorkManager and JobScheduler in such instances.
Where do these components fit in Clean Architecture?
The text was updated successfully, but these errors were encountered: