The code we are working on has parameters
EditNumberField(
label = R.string.how_was_theservice,
value = tipInput,
onValueChange = { tipInput = it },
modifier = Modifier.padding(bottom = 32.dp).fillMaxWidth()
)
but in snippet it is written onValueChanged_
here the bold 'd' should not come, I encountered this problem
Steps to reproduce?
Go to... the code snippet
Click on... OnValueChanged
See error... and change it to OnValueChange
VersionsAndroid Studio version:API version of the emulator:
Additional informationInclude screenshots if they would be useful in clarifying the problem.
(https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-calculate-tip#3)
In task 10 Code Snippet you will find error
The code we are working on has parameters EditNumberField( label = R.string.how_was_theservice, value = tipInput, onValueChange = { tipInput = it }, modifier = Modifier.padding(bottom = 32.dp).fillMaxWidth() ) but in snippet it is written onValueChanged_ here the bold 'd' should not come, I encountered this problem
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.