Created
July 27, 2017 11:24
-
-
Save vestrel00/4216da9e860203fb00f4586e4c240bcb to your computer and use it in GitHub Desktop.
A: 7 - ui/example_2/Example2ActivityModule.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Module(includes = BaseActivityModule.class, | |
subcomponents = { | |
Example2AFragmentSubcomponent.class, | |
Example2BFragmentSubcomponent.class | |
}) | |
abstract class Example2ActivityModule { | |
// TODO (ContributesAndroidInjector) remove this in favor of @ContributesAndroidInjector | |
@Binds | |
@IntoMap | |
@FragmentKey(Example2AFragment.class) | |
abstract AndroidInjector.Factory<? extends Fragment> | |
example2AFragmentInjectorFactory(Example2AFragmentSubcomponent.Builder builder); | |
// TODO (ContributesAndroidInjector) remove this in favor of @ContributesAndroidInjector | |
@Binds | |
@IntoMap | |
@FragmentKey(Example2BFragment.class) | |
abstract AndroidInjector.Factory<? extends Fragment> | |
example2BFragmentInjectorFactory(Example2BFragmentSubcomponent.Builder builder); | |
@Binds | |
@PerActivity | |
abstract Activity activity(Example2Activity example2Activity); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment