Open NiksonJD opened 5 months ago
https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-calculate-tip#3
4. Add a tip-percentage text field
EditNumberField( label = R.string.how_was_the_service, value = "", onValueChanged = { }, modifier = Modifier.padding(bottom = 32.dp).fillMaxWidth() )
EditNumberField( label = R.string.bill_amount, value = amountInput, onValueChanged = { amountInput = it }, modifier = Modifier.padding(bottom = 32.dp).fillMaxWidth() )
need onValueChange = {
@NiksonJD Could you please explain the issue?
https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-calculate-tip#3
4. Add a tip-percentage text field
EditNumberField( label = R.string.how_was_the_service, value = "", onValueChanged = { }, modifier = Modifier.padding(bottom = 32.dp).fillMaxWidth() )
EditNumberField( label = R.string.bill_amount, value = amountInput, onValueChanged = { amountInput = it }, modifier = Modifier.padding(bottom = 32.dp).fillMaxWidth() )
need onValueChange = {