in the MainActivity.kt i get error. how to fix them?

  Kiến thức lập trình
@Composable
    fun MyComposeUI(
        onBlinkStartStop: (Boolean) -> Unit,
        onSpeedChange: (Float) -> Unit,
        isBlinking: Boolean
    ) {
        var sliderPosition by remember { mutableStateOf(0.5f) }

the error is on the line:

var sliderPosition by remember { mutableStateOf(0.5f) }

should ?I choose the suggested fix: import operator ‘State.getValue’ ?

this is a screenshot showing the error:

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT