Kindling
Toggle table of contents
SNAPSHOT
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Kindling
compose
/
dev.kindling.compose.experimental
/
KMviViewModel
/
setState
set
State
protected
fun
setState
(
reducer
:
State
.
(
)
->
State
)
(
source
)
Updates the current state using a reducer function.
Example
setState {
copy(isLoading = true)
}
Content copied to clipboard