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 #123

Open biniamhailu opened 3 months ago

biniamhailu commented 3 months ago

URL of codelab: 8. Implement Sell item Specify the language of the codelab if it is not English:

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

On disabling the sell button if the sell button if the quantity is out of stock.

Describe the problem There is a step missed on the task. We need to open ItemDetailsScreen.kt and on the sell button we have to do enabled = !itemDetailsUiState.outOfStock to disable the button if the item is out of stock.

Thank you for a great introduction to android development!

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.