Is there a way to make a property in an object to be injected from dagger as a lateinit property?
g
gildor
06/08/2020, 12:07 PM
You can do that, but it requires initing it by calling some init method, I would say it’s a bad practice to have singleton with injection or some initializator.
We just never use
object
in dagger, I don’t see the reason for that if you always can use