Skip to content

Read and update data using Room #196

Description

@ReggThims

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?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-6-pathway-2%3F_gl%3D1*12fsiry*_up*MQ..*_ga*MTk0OTY1NTMyNi4xNzYzMDM3NjQ0*_ga_6HH9YJMN9M*czE3NjMwMzc2NDQkbzEkZzAkdDE3NjMwMzc2NDQkajYwJGwwJGg5MDMyOTQzNTk.%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-update-data-room&_gl=1*1cxtf7o*_up*MQ..*_ga*MTcwMjg4NDEyOC4xNzYzMDQ2Mjg1*_ga_6HH9YJMN9M*czE3NjMwNDYyODUkbzEkZzAkdDE3NjMwNDYyODUkajYwJGwwJGgxNTIxMjcwMTk3#7

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

In which task and step of the codelab can this issue be found?
In step 8:
Inside the launch block, create a val called currentItem and set it to uiState.value.toItem().

val currentItem = uiState.value.toItem()

Describe the problem
Should be: val currentItem = uiState.value.itemDetails.toItem()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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