Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found?
Task 6 Display Item Details
Steps 11 and 12
Describe the problem
In step 11, the first parameter of ItemDetailsBody() is stated as itemUiState = uiState.value,
but this should read itemDetailsUiState = uiState.value,
In Step 12, the first parameter in fun ItemDetailsBody() is given as itemUiState: ItemUiState,
but this should read itemDetailsUiState: ItemDetailsUiState,
Note that the variable itemUiState is not used in this function but the variable itemDetailsUiState is used.
Steps to reproduce?
Go to...
Click on...
See error...
Versions
_Android Studio version:_Android Studio Giraffe | 2022.3.1 Patch 2
Build #AI-223.8836.35.2231.10811636, built on September 14, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 20
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
_API version of the emulator:_My Pixel 5 API 31
Additional informationInclude screenshots if they would be useful in clarifying the problem.
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#5
Specify the language of the codelab if it is not English:
In which task and step of the codelab can this issue be found? Task 6 Display Item Details Steps 11 and 12
Describe the problem In step 11, the first parameter of ItemDetailsBody() is stated as itemUiState = uiState.value, but this should read itemDetailsUiState = uiState.value,
In Step 12, the first parameter in fun ItemDetailsBody() is given as itemUiState: ItemUiState, but this should read itemDetailsUiState: ItemDetailsUiState, Note that the variable itemUiState is not used in this function but the variable itemDetailsUiState is used.
Steps to reproduce?
Versions _Android Studio version:_Android Studio Giraffe | 2022.3.1 Patch 2 Build #AI-223.8836.35.2231.10811636, built on September 14, 2023 Runtime version: 17.0.6+0-b2043.56-10027231 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 20 Registry: external.system.auto.import.disabled=true ide.text.editor.with.preview.show.floating.toolbar=false
_API version of the emulator:_My Pixel 5 API 31
Additional information Include screenshots if they would be useful in clarifying the problem.