google-developer-training / android-basics-kotlin-unscramble-app

Apache License 2.0
90 stars 256 forks source link

Android Basics: ViewModel #108

Closed Amuny closed 2 years ago

Amuny commented 3 years ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-training-viewmodel?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-viewmodel#12

In which task and step of the codelab can this issue be found? The final solution is missing a step to function properly

Describe the problem The final product doesn't function properly; it never updates the score and word count labels currently. It should probably be added in updateNextWordOnScreen() function.

Steps to reproduce? Follow the codelab entirely, it doesn't work at the end

Versions _Android Studio version: 4.2 _API version of the emulator: irrelevant

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

android-dev-lxl commented 2 years ago

@Amuny It is as intented. You will update the score and word count in your next continuation codelab, "Use LiveData with ViewModel".