Package-level declarations

Types

Link copied to clipboard
abstract class ScopeViewModel : ViewModel, KoinScopeComponent

Class to help support Koin Scope in a ViewModel create directly a scope instance for current ViewModel

Properties

Link copied to clipboard
val ViewModelScopeArchetype: TypeQualifier

Functions

Link copied to clipboard
fun KoinScopeComponent.viewModelScope(): Scope

Create a ViewModel Scope as ViewModelScope archetype for given ViewModel

fun Module.viewModelScope(scopeSet: ScopeDSL.() -> Unit)

Declare a ViewModel scope