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

Open falbertoaraujo opened 7 months ago

falbertoaraujo commented 7 months ago

URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-update-data-room?hl=pt_br#7

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

  1. No bloco launch, chame o método deleteItem() no viewModel.

In which task and step of the codelab can this issue be found? Erro: onDelete = { coroutineScope.launch { viewModel.deleteItem() }

Fix: onDelete = { coroutineScope.launch { viewModel.deleteItem() } }

Describe the problem

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.