KotlinLeaner
val isBluetoothEnabled = MutableStateFlow(false)
.value
isBluetoothEnabled.value
val isBluetoothEnabled by MutableStateFlow(false)
Type 'MutableStateFlow<TypeVariable(T)>' has no method 'getValue(PairViewModel, KProperty<*>)' and thus it cannot serve as a delegate
Michael Paus
import androidx.compose.runtime.*
kotlinx.coroutines.flow
A modern programming language that makes developers happier.