google-developer-training / basic-android-kotlin-compose-training-inventory-app

Apache License 2.0
77 stars 84 forks source link

ItemDetailsBody composable function mistakes #61

Open nikgatov opened 1 year ago

nikgatov commented 1 year ago

URL of codelab:

Task 6, Step 12

Problems: 1) Parameter's "itemUiState" type should be "ItemDetailsUiState" 2) First argument in "ItemDetails" function call should be "item = itemUiState.itemDetails.toItem(),"

Versions Android Studio Giraffe | 2022.3.1 Patch 1 Resizable (Experimental) API 34

Screenshot: errors