ViewModelGraph
Extension of MetroViewModelMultibindings that also includes a MetroViewModelFactory accessor. Extend this in a dependency graph that needs to expose MetroViewModelFactory.
@DependencyGraph
interface MyGraph : ViewModelGraphContent copied to clipboard
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
The factory that creates this graph's ViewModels and assisted factories.
Link copied to clipboard
Constructor-injected ViewModel providers keyed by their ViewModel class.