Created
April 4, 2017 07:42
-
-
Save goofyahead/f13b41ba6beda87a030347f47f552019 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 = { | |
TestMainActivitySubComponent.class, | |
TestSecondaryActivitySubComponent.class | |
}) | |
public abstract class TestBindingModule { | |
@Binds | |
@IntoMap | |
@ActivityKey(MainActivity.class) | |
abstract AndroidInjector.Factory<? extends Activity> bindMainActivityInjectorFactory(TestMainActivitySubComponent.Builder builder); | |
@Binds | |
@IntoMap | |
@ActivityKey(SecondaryActivity.class) | |
abstract AndroidInjector.Factory<? extends Activity> bindMainSecondaryInjectorFactory(TestSecondaryActivitySubComponent.Builder builder); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment