Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. @Component(modules = [ApplicationModule::class, ...])
  2. interface ApplicationComponent {
  3. ...
  4. }
  5.  
  6. @Module
  7. class ApplicationModule(private val applicationContext: Context) {
  8. @Provides fun provideApplicationContext() = applicationContext
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement