Last active
April 4, 2017 07:19
-
-
Save goofyahead/184ff1b0213f653d9d7e6a45e12f1b9a to your computer and use it in GitHub Desktop.
This file contains 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(subcomponents = { | |
MainActivitySubComponent.class, | |
SecondaryActivitySubComponent.class | |
}) | |
public abstract class BindingModule { | |
@Binds | |
@IntoMap | |
@ActivityKey(MainActivity.class) | |
abstract AndroidInjector.Factory<? extends Activity> bindMainActivityInjectorFactory(MainActivitySubComponent.Builder builder); | |
@Binds | |
@IntoMap | |
@ActivityKey(SecondaryActivity.class) | |
abstract AndroidInjector.Factory<? extends Activity> bindMainSecondaryInjectorFactory(SecondaryActivitySubComponent.Builder builder); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment