Created
June 15, 2017 11:59
-
-
Save iammert/19f30fc6173ce006154695c17590f669 to your computer and use it in GitHub Desktop.
AppModule.java
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 = { | |
MainActivityComponent.class, | |
DetailActivityComponent.class}) | |
public class AppModule { | |
@Provides | |
@Singleton | |
Context provideContext(Application application) { | |
return application; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment