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

Apache License 2.0
103 stars 163 forks source link

Android Basics: Shared ViewModel #29

Closed capptain-bogoslov closed 3 years ago

capptain-bogoslov commented 3 years 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#1

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

Describe the problem In code example instead of

setContentView(R.layout.main_activity)

it should be setContentView(R.layout.activity_main)

Steps to reproduce?

  1. Go to codelab
  2. Click on Step 2
  3. See typo error in code

Additional information Στιγμιότυπο από 2021-08-16 09-11-21

kkuan2011 commented 3 years ago

Good catch! Fixed and will be published soon, thank you!