I’m building a multi module app containing core, core-android, data, domain, presentation, app packages.
I decided to implement Dagger like this video:
https://www.youtube.com/watch?v=9fn5s8_CYJI▾
Example app: https://github.com/tfcporciuncula/rxjava-to-coroutines
I’ve placed ApplicationComponent and DaggerComponentProvider in app package. My activity and fragments are in presentation package. app package has presentation package dependency.
Question: I need injector extension in DaggerComponentProvider file in my activities and fragments however presentation package doesn’t depend on app package. I don’t want to create subcomponents or combine app and presentation packages. Any ideas?