iammert / dagger-android-injection

Sample project explains Dependency Injection in Android using dagger-android framework.
516 stars 129 forks source link

Dagger Android in Multi Modular Project #17

Open amanjeetsingh150 opened 5 years ago

amanjeetsingh150 commented 5 years ago

Hey, How to use dagger android version in multi modular project. Because according to the structure we should have access to Activity module in app component that is in app module. But the app module do not implements the different feature module in which my modules will be written. Thanks, Amanjeet

wangchauyan commented 5 years ago

you can try to use Dagger Component dependency, which means you will have components in each different modules, and use dependency to link them together.