Skip to content

Instantly share code, notes, and snippets.

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