Skip to content

Read and update data using Room #192

@Vsevolod-Shustov

Description

@Vsevolod-Shustov

name: Read and update data using Room issue template.
about: Issue template for Read and update data using Room
title: Read and update data using Room
labels: ''
assignees: ''


URL of codelab:
https://developer.android.com/codelabs/basic-android-kotlin-compose-update-data-room?hl=en#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?
6. Display item details

Describe the problem
In step 11 In the ItemDetailsScreen() composable, update the ItemDetailsBody() function call and pass in uiState.value to itemUiState argument. itemUiState = uiState.value, should be itemDetailsUiState = uiState.value, as seen in solution code https://github.com/google-developer-training/basic-android-kotlin-compose-training-inventory-app/blob/e0773b718f2670e401c039ee965879c5e88ca424/app/src/main/java/com/example/inventory/ui/item/ItemDetailsScreen.kt#L113C13-L113C48

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions