Entities can have mapping methods to Domain models (in the Data Layer).
The dependency layer goes the other way around, Domain shouldn’t know about Data and Presentation but the other way around it is completely fine.
Would this be helpful? https://github.com/arturbosch/detekt-intellij-plugin. For codestyles, I would recommend following https://github.com/pinterest/ktlint because detekt is more focused on Kotlin code smells.
Hello Carlos Leonardo Camilo Vargas Huamán!
Thank you! It depends, you probably want to select the android library option. Check: https://github.com/sanogueralorenzo/Android-Kotlin-Clean-Architecture/blob/master/common-android-library.gradle
Thank you Alex!
That is a very good question.
The best approach in my opinion is to have empty styles in the feature modules and have only 1 implementation of those styles in the main app.
You need a solution that is easy to maintain but at the same time flexible in case you want X feature to have its own style and colours.
Hello again Adi Trioka,
Thank you! Glad you liked it.
Don’t seem to understand. What are Reminder Use Case & Repository exactly doing? From what I’ve understood it looks more like a User Repository which acts as an AccountManager kind of thing right?
Ping me over Twitter DM so I can try to help you out.