https://kotlinlang.org logo
Title
o

oday

07/21/2018, 6:29 PM
if yes, then that’s what it means, if no, then it means “some of these params will be injected”
s

Shawn

07/21/2018, 6:30 PM
gonna detour into a thread since this isn’t exactly Kotlin related
k

karelpeeters

07/21/2018, 6:30 PM
Right, what library are you using?
o

oday

07/21/2018, 6:31 PM
just javax so far
i only use Dagger usually, it doesn’t work like this
I think that he is writing this and later he will write the file that dictates what can be injected and where
🙂
sorry wasted your time
u

ursus

07/22/2018, 3:26 PM
contructor injection is meat and potatoes of Dagger, field injection is only when you cant use ctor inj.
o

oday

07/23/2018, 8:49 AM
not sure about that
u

ursus

07/23/2018, 2:25 PM
if you believe in DI, you believe in passing all dependencies via constructor as the best case, if you dont, you dont