ViewModel

actual open class ViewModel(scope: CoroutineScope?) : ViewModel
actual open class ViewModel(scope: CoroutineScope?)

Constructors

Link copied to clipboard
actual constructor(scope: CoroutineScope?)
expect constructor(scope: CoroutineScope? = null)
actual constructor(scope: CoroutineScope?)

Properties

Link copied to clipboard
actual val viewModelScope: CoroutineScope
expect val viewModelScope: CoroutineScope
actual val viewModelScope: CoroutineScope

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard