Last active
May 26, 2020 01:17
-
-
Save diousk/050057251a7480df56b9e71e12ce72b4 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
@Module | |
abstract class ActivityBuilder { | |
@PerActivity | |
@ContributesAndroidInjector(modules = [SomeModule::class]) | |
abstract fun bindSomeActivity(): SomeActivity | |
} | |
@Module | |
abstract class SomeModule { | |
@Provides | |
@PerActivity | |
fun provideSomeObject(): SomeObject | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment