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
denis.shakinov
08/09/2017, 9:32 AM
haven’t found any dagger replacement so far
r
raulraja
08/09/2017, 9:51 AM
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.
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