https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
m

moizest89

01/29/2020, 5:31 PM
I’ve checked the follow examples https://github.com/android/architecture-samples but the basic clean project has injection dependence 😞
g

gabrielfv

01/29/2020, 5:38 PM
There are a few with Koin that I'd have to google for rn but without DI I don't really know. But you can always abstract the DI out of the example, since it doesn't change how the classes should behave.
a

Anastasia Finogenova

01/29/2020, 10:35 PM
To increase the testability and get the most of the clean architecture it makes a lot of sense to use DI pattern, it can be your custom service locator or koin or something else but it does make more sense to always use this pattern
👍 4
m

moizest89

01/30/2020, 1:20 PM
Thanks guys!!! ^_^
5 Views