hi, so I’m using Hilt and I’m trying to inject som...
# dagger
o
hi, so I’m using Hilt and I’m trying to inject some fields into a class like here https://www.toptal.com/developers/hastebin/idafagabuh.kotlin
whenever i call that class to use it
Copy code
return DeepLinkRouterImpl().handle(uri)
I get an exception that deepLinkHandler has not yet been initialized, line 9
not sure what to do here
t
you are calling the constructor and not requesting it from dagger via an @Inject constructor so the fields will all be null still.
o
yea resolved it, thanks though