【发布时间】:2022-12-27 14:35:43
【问题描述】:
I created a WorkManager that retrieves the current Bitcoin price from an API every 60 minutes and displays it to the user as a notification. However, I am confused about how to integrate WorkManager with Clean Architecture.
I created an infrastructure layer for WorkManager. Do you think this is correct? In your opinion, where should WorkManager be placed in Clean Architecture?
【问题讨论】:
-
Please stare some code or a schema of your current architecture. How do we know, is your architecture correct or not, if we cannot see it? :)
-
I added a scheme of current architecture
标签: android android-workmanager clean-architecture