-
Notifications
You must be signed in to change notification settings - Fork 133
Description
name: Read and update data using Room issue template.
about: Issue template for Read and update data using Room
title: Read and update data using Room
labels: ''
assignees: ''
URL of codelab:
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
file
ItemDetailsScreen.kt
Describe the problem
On colling function ItemDetailsBody, the text in above URL indicates
ItemDetailsBody(
itemUiState = uiState.value, // <---
onSellItem = { },
onDelete = { },
modifier = modifier.padding(innerPadding)
)
However, "itemUiState" argument is perhaps invalid.
The code indicated below is the sucess case
ItemDetailsBody(
//itemUiState = uiState.value,
itemDetailsUiState = uiState.value, // <---
onSellItem = { },
onDelete = { },
modifier = Modifier
:
)
Steps to reproduce?
- Go to...
- Click on...
- See error...
Versions
Android Studio version: Ladybug Feature Drop 2024.2.2
API version of the emulator: 35
Additional information
Include screenshots if they would be useful in clarifying the problem.