Open JuDCraide opened 2 months ago
Following the rest of the course a function named EditNumberField is created on task 5. The Composition in stage 4. So the previous uses of this function in task 4. Use state in Compose and on task 5.1 are a mistake and should be replaced with TipTimeLayout. Thanks
URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-using-state?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-using-state#3
In which task and step of the codelab can this issue be found? 4 and 5
Describe the problem
Error on the text of the codelab. There is no EditNumberField, it is call TipTimeLayout() instead. The 2 solutions I see is to either to change the text of the codelab or function the name in https://github.com/google-developer-training/basic-android-kotlin-compose-training-tip-calculator/blob/starter/app/src/main/java/com/example/tiptime/MainActivity.kt
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.