google-developer-training / basic-android-kotlin-compose-training-inventory-app

Apache License 2.0
77 stars 84 forks source link

Read and update data using Room: code review #111

Open Youssouf-Bologna opened 6 months ago

Youssouf-Bologna commented 6 months ago

URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-update-data-room?hl=fr#7

In which task and step of the codelab can this issue be found? 8 step 3

Describe the problem the proposed code val currentItem = uiState.value.toItem()

fix: val currentItem = uiState.value.itemDetails.toItem()

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.