Skip to content

Instantly share code, notes, and snippets.

@vestrel00
Created July 27, 2017 12:15
Show Gist options
  • Save vestrel00/ba55d26b4258450ddf9326363b0d53bb to your computer and use it in GitHub Desktop.
Save vestrel00/ba55d26b4258450ddf9326363b0d53bb to your computer and use it in GitHub Desktop.
A: 8 - ui/example_3/parent_fragment/Example3ParentFragmentModule.java
@Module(includes = {
BaseFragmentModule.class
},
subcomponents = Example3ChildFragmentSubcomponent.class)
abstract class Example3ParentFragmentModule {
// TODO (ContributesAndroidInjector) remove this in favor of @ContributesAndroidInjector
@Binds
@IntoMap
@FragmentKey(Example3ChildFragment.class)
abstract AndroidInjector.Factory<? extends Fragment>
example3ChildFragmentInjectorFactory(Example3ChildFragmentSubcomponent.Builder builder);
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment