TangleViewModelProviderMap

Qualifier for the internal Map<KClass<ViewModel>, ViewModel>> used in Tangle's ViewModel multi-binding.

This is an internal Tangle API and should not be referenced directly.

Since

0.10.0

Constructors

Link copied to clipboard
fun TangleViewModelProviderMap()

Types

Link copied to clipboard
annotation class KeySet

Qualifier for all the keys contained in TangleViewModelProviderMap. TangleViewModelProviderMap is only provided by TangleViewModelMapSubcomponent, and a new subcomponent needs to be created for each viewModel injection, so it's inefficient to create the object before we know if the map holds the ViewModel. The TangleViewModelFactory checks this Set in order to determine whether the map holds a particular ViewModel type.

Sources

Link copied to clipboard