Skip to content

Instantly share code, notes, and snippets.

@Nimrodda
Last active January 23, 2020 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nimrodda/b1d14244ee982b785ccb29a5ed577903 to your computer and use it in GitHub Desktop.
Save Nimrodda/b1d14244ee982b785ccb29a5ed577903 to your computer and use it in GitHub Desktop.
@Module
abstract class DetailModule {
@Binds
@IntoMap
@ViewModelKey(DetailViewModel::class)
abstract fun bindViewModel(viewModel: DetailViewModel): ViewModel
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment