Skip to content

Read and update data using Room #193

@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#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?
8. Implement sell item

Describe the problem
Part "Add a function in the ViewModel" missing a step between 12 and 13: in ItemDetailsBody composable, sell button, change enabled = true to enabled = !itemDetailsUiState.outOfStock
This is another piece of starter code that is different from end result of previous codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-persisting-data-room?hl=en#0

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