Last active
February 7, 2021 20:43
-
-
Save mlykotom/71e1be48562653b6ed1ba4eaca4a35ce to your computer and use it in GitHub Desktop.
Connecting the dots : BuilderModule
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 BuilderModule { | |
@Binds | |
@IntoMap | |
@ViewModelKey(SomeViewModel::class) | |
abstract fun bindVMFactory(f: SomeViewModel.Factory): AssistedSavedStateViewModelFactory<out ViewModel> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment