In case anyone is bored, I'm posting a question on...
# dagger
j
In case anyone is bored, I'm posting a question on stackoverflow about dagger [1], I'm missing something but I'm not able to find it.. [1] : https://stackoverflow.com/questions/60627262/lateinit-property-androidinjector-has-not-been-initialized-dagger-2
a
You didn’t inject the root graph ie. where your dependencies are living, and that is your DaggerXXXXComponent generated by dagger. Provision the root graph, and let it inject the dependencies of your Application class.
In short:
Copy code
override fun androidInjector(): AndroidInjector<Any> {
    //Returns your  DaggerXXXComponent here
}
j
The crash happened when I start using inject constructor and inject for interfaces