Created
July 11, 2017 06:08
-
-
Save EfeBudak/678cf4d5936aee7cb5bbbe73e9728111 to your computer and use it in GitHub Desktop.
Application context on Toast message sample
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 | |
public class AppModule { | |
@Singleton | |
@Provides | |
Context provideContext(Application application) { | |
return application; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment