Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read and update data using Room #129

Open
rchparkinson opened this issue Jul 9, 2024 · 0 comments
Open

Read and update data using Room #129

rchparkinson opened this issue Jul 9, 2024 · 0 comments

Comments

@rchparkinson
Copy link

URL of codelab:
https://developer.android.com/codelabs/basic-android-kotlin-compose-update-data-room?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-6-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-update-data-room#5

Specify the language of the codelab if it is not English:

In which task and step of the codelab can this issue be found?
Task 6 Display Item Details
Steps 11 and 12

Describe the problem
In step 11, the first parameter of ItemDetailsBody() is stated as itemUiState = uiState.value,
but this should read itemDetailsUiState = uiState.value,

In Step 12, the first parameter in fun ItemDetailsBody() is given as itemUiState: ItemUiState,
but this should read itemDetailsUiState: ItemDetailsUiState,
Note that the variable itemUiState is not used in this function but the variable itemDetailsUiState is used.

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions
_Android Studio version:_Android Studio Giraffe | 2022.3.1 Patch 2
Build #AI-223.8836.35.2231.10811636, built on September 14, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 20
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false

_API version of the emulator:_My Pixel 5 API 31

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant