metro
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
metro
metrox-viewmodel
/
dev.zacsweers.metrox.viewmodel
/
ViewModelKey
View
Model
Key
@
MapKey
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.FIELD
,
AnnotationTarget.PROPERTY
,
AnnotationTarget.PROPERTY_GETTER
,
AnnotationTarget.CLASS
,
AnnotationTarget.TYPE
]
)
annotation class
ViewModelKey
(
val
value
:
KClass
<
out
ViewModel
>
)
(
source
)
A
MapKey
annotation for binding ViewModels in a multibinding map.
Members
Properties
value
Link copied to clipboard
val
value
:
KClass
<
out
ViewModel
>