Replies: 2 comments 3 replies
-
I'm not sure I am fully understand your question. |
Beta Was this translation helpful? Give feedback.
-
As you mentioned, it is possible to access 'network', 'datastore', and 'database' from the 'feature' module. However, you need to understand that the 'feature' module does not directly depend on these modules instead, it accesses them indirectly through interfaces implemented by each Repository in the 'data' module. Additionally, the reason the 'data' module uses 'api' is not just because it is used by the 'feature' module, but as you can see from the |
Beta Was this translation helpful? Give feedback.
-
Why use api in core/data/build.gradle.kts?
If I understood correctly, feature modules can see the dependency of the core:data module like core:network, core:datastore, core:database. I think the interfaces from data layer is what they needed. There should be an explanation to this. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions