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.
08/22/2018, 6:11 AM
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
08/23/2018, 11:04 AM
Would you recommend to use it on a prod app
08/29/2018, 6:31 AM
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.