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

Apache License 2.0
103 stars 163 forks source link

Android Basics: Shared ViewModel #86

Closed GPRSBirkbeck closed 1 year ago

GPRSBirkbeck commented 1 year ago

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

In which task and step of the codelab can this issue be found? Task 6, step 4.

Describe the problem In the course, we are never asked to clear StartFragment.kt's binding?.apply{} which contains setOnClickListener's, and these become blocking, after we add navigation in task 5 step 3.

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.

GPRSBirkbeck commented 1 year ago

mistake, sorry!