ViewModelScope

A scope that is tied to the lifecycle of a ViewModel. This scope survives configuration changes and is only destroyed when the ViewModel is cleared. Uses JvmInline for performance optimization.

Properties

Link copied to clipboard
open override val scope: DefaultScope

The underlying core DefaultScope instance.

Functions

Link copied to clipboard
open override fun closeAll()
Link copied to clipboard
open override fun declare(qualifier: Qualifier, instance: Any)
Link copied to clipboard
open override fun get(qualifier: Qualifier): Any
Link copied to clipboard
open override fun getSubScope(qualifier: Qualifier): Scope
Link copied to clipboard
open override fun registerFactory(vararg modules: DependencyModule)
Link copied to clipboard
open override fun resolvePath(path: Path): Scope