Following clean architecture? #661
Replies: 2 comments
-
|
I would argue, that the fact that an Android lib module is used, instead of a plain Kotlin module, is no violation against clean architecture by itself. It's just a different type of module that comes with more possibilities, overhead and responsibilities. |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately, module dependencies in this project are a bit messy.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So since I've started study Clean architecture I got front with some questions. One of them is about the Domain layer, that shouldn't has any android dependency.

Considering this fact, in this case could I have this module as android library? I mean, not make sense just be a module that contains only Kotlin reference, independent of the android framework? such as
libs.kotlinx.coroutines.android? but we depend of this "android" dependency, how clean architecture treats it?Beta Was this translation helpful? Give feedback.
All reactions