Created
October 18, 2016 13:54
-
-
Save frogermcs/17155715cb88f84064969e7752261f20 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
@ActivityScope | |
@Subcomponent( | |
modules = MainActivityComponent.MainActivityModule.class | |
) | |
public interface MainActivityComponent extends ActivityComponent<MainActivity> { | |
@Subcomponent.Builder | |
interface Builder extends ActivityComponentBuilder<MainActivityModule, MainActivityComponent> { | |
} | |
@Module | |
class MainActivityModule extends ActivityModule<MainActivity> { | |
MainActivityModule(MainActivity activity) { | |
super(activity); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment