Is there a way to make a property in an object to ...
# dagger
c
Is there a way to make a property in an object to be injected from dagger as a lateinit property?
g
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
@Singleton
scope