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

Open ArunInbasekaran opened 7 months ago

ArunInbasekaran commented 7 months ago

URL of codelab:

In which task and step of the codelab can this issue be found? val currentItem = uiState.value.toItem(). The uiState.value is of the type ItemUiState.

Describe the problem It should have been val currentItem = uiState.value.itemDetails.toItem() The uiState.value is of the type ItemDetailsUiState and not of ItemUiState.

Additional information Screenshot 2024-02-14 at 6 23 11 PM