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.
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