I am struggling to understand how to use dagger de...
# android
u
I am struggling to understand how to use dagger dependency injection , in a kotlin architectural component based app. Even after going through many blog posts, docs , I still dont clearly understand field injection, dagger-android . Can anyone suggest any course or material which might help me to get a better understanding of dagger so that I can move fast with my development.
stackoverflow 2
google 2
j
Have gone through the same pain myself until I stumbled upon this DI framework called Koin. Its pretty straight forward and less complex when compared to dagger2. Check out the repo here - https://github.com/InsertKoinIO/koin
u
Would you recommend to use it on a prod app
in**
j
I believe it is prod ready. But I haven’t used it on a prod app yet. Do your bit of research to figure out if it’d satisfy your use cases.