google-developer-training / basic-android-kotlin-compose-training-tip-calculator

Apache License 2.0
61 stars 93 forks source link

Intro to state in Compose: Android Basics with Compose #147

Open wewere opened 11 months ago

wewere commented 11 months ago

URL of codelab

In which task and step of the codelab can this issue be found?

  1. State hoisting. Step 2.

Describe the problem @Composable fun EditNumberField( value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier ) {

In the source code and in further parts of the codelab, the parameter is called onValueChanged: (String) -> Unit

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.