Has anyone tried using dagger along with dynamic f...
# dagger
m
Has anyone tried using dagger along with dynamic feature modules? Specifically anvil based dagger? Since the code is not actually downloaded with the app, i suspect it would be hard to include things in a feature module that contribute to the application/singleton scope. Also, i was under the impression that it was essentially a 2 way dependency, since you add the app project as a dependency in your gradle file. However, I seem to be unable to resolve classes from my app module.
m
Yeah, as Jake said, you need separate components. You can take a look at https://developer.android.com/training/dependency-injection/dagger-multi-module