koin-annotations
Toggle table of contents
4.2.2
common
Target filter
common
Switch theme
Search in API
Skip to content
koin-annotations
koin-annotations
/
org.koin.core.annotation
/
ViewModelScope
View
Model
Scope
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
,
AnnotationTarget.FUNCTION
]
)
annotation class
ViewModelScope
Declare a class in a ViewModelScope Koin scope.
example: