Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component(modules = [ApplicationModule::class, ...])
- interface ApplicationComponent {
- ...
- }
- @Module
- class ApplicationModule(private val applicationContext: Context) {
- @Provides fun provideApplicationContext() = applicationContext
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement