So... Dependency Injection and Kotlin. Right now i...
# announcements
i
So... Dependency Injection and Kotlin. Right now it seems like there are quite a few "one man bands" out there trying to be the next big thing. Dagger seems almost like an elephant in a Window store, considering how elegant DI could be done in Kotlin. What would you use today, and in a near future?
d
haven’t found any dagger replacement so far
r
Depends on what you want to achieve as method return types, but it can be done with just functions deferring execution to a single point.
s
I personally prefer Kodein (https://github.com/SalomonBrys/Kodein)
i
Ye, Kodein is my fav at the moment
e
I've been using Kodein in a production level app for a year now. Rock solid library. I find it to be a lot easier to grok and use than dagger. Check out #kodein