MetroViewModelMultibindings
Contains common multibindings for standard ViewModels and assisted ViewModels.
Extend this in a dependency graph that needs to only needs to expose viewmodel provider map multibindings. If you want MetroViewModelFactory access, extend ViewModelGraph instead.
@DependencyGraph
interface MyGraph : MetroViewModelMultibindingsContent copied to clipboard
Inheritors
Properties
Link copied to clipboard
Assisted factory providers keyed by the ViewModel class they create.
Link copied to clipboard
abstract val manualAssistedFactoryProviders: Map<KClass<out ManualViewModelAssistedFactory>, () -> ManualViewModelAssistedFactory>
Manually assisted factory providers keyed by their factory class.
Link copied to clipboard
Constructor-injected ViewModel providers keyed by their ViewModel class.