Last active
June 4, 2018 18:13
-
-
Save mladenrakonjac/6b59d53fc2af7a6002fd090a46b2fbf7 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 | |
internal abstract class MainActivityModule { | |
@ContributesAndroidInjector | |
internal abstract fun mainActivity(): MainActivity | |
@Binds | |
@IntoMap | |
@ViewModelKey(MainViewModel::class) | |
abstract fun bindMainViewModel(viewModel: MainViewModel): ViewModel | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment