You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In which task and step of the codelab can this issue be found?
8 Step, Implement Sell Item
Describe the problem
There is the code snippet: val currentItem = uiState.value.toItem()
And text: "The uiState.value is of the type ItemUiState. You convert it to the Item entity type with the extension function toItem()."
Which is not true. The uiState.value is of the type ItemDetailsUseCase and itemDetails property should be called, so the code snippet should look like this: val currentItem = uiState.value.itemDetails.toItem()
The text was updated successfully, but these errors were encountered:
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%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-update-data-room#7
In which task and step of the codelab can this issue be found?
8 Step, Implement Sell Item
Describe the problem
There is the code snippet:
val currentItem = uiState.value.toItem()
And text: "The uiState.value is of the type ItemUiState. You convert it to the Item entity type with the extension function toItem()."
Which is not true. The uiState.value is of the type ItemDetailsUseCase and itemDetails property should be called, so the code snippet should look like this:
val currentItem = uiState.value.itemDetails.toItem()
The text was updated successfully, but these errors were encountered: