DaggerSubcomponents
DaggerSubcomponents copied to clipboard
Dagger subcomponents
DaggerSubcomponents
Dagger subcomponents allow you to define efficient and easy to maintain dagger configuration for dependency injection.
Example
The examples has one activity and two fragments, the fragments make remote service call using retrofit rxjava and display data on the screen. Dependencies for activity and fragments are injected using dagger and dagger subcomponent feature.
Links
You can find detailed explanation about dagger subcomponents and about this example at http://www.zoftino.com/dagger-subcomponents