Skip to content

Instantly share code, notes, and snippets.

@remcomokveld
Last active April 14, 2019 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remcomokveld/80428d753e580d2b1cc20892a40fa2c8 to your computer and use it in GitHub Desktop.
Save remcomokveld/80428d753e580d2b1cc20892a40fa2c8 to your computer and use it in GitHub Desktop.
public class DaggerAppComponent implements AppComponent {
public class MyActivitySubcomponentImpl implements ActivitySubcomponent {
public void inject(MyActivity activity) {...}
public class OnboardingFragmentSubcomponentImpl implements OnboardingFragmentSubcomponent {
public void inject(OnboardingFragment fragment) { ... }
}
public class WelcomeFragmentSubcomponentImpl implements WelcomeFragmentSubcomponent {
public void inject(WelcomeFragment fragment) { ... }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment