Skip to content

Android Compose Add a Scrollable List #236

@AshenafiG

Description

@AshenafiG

**Add Scrollable List, URL https://developer.android.com/codelabs/basic-android-kotlin-compose-training-add-scrollable-list?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-training-add-scrollable-list#2

Compilation error in "Unit 3: Pathway 2 - Step 3: Add a list on your app

Image

Details: In the Surface Composable, the parameter was incorrectly named Modifier = Modifier (capital M) instead of modifier = Modifier. Additionally, there are extra commas (,,) in the last code snippet. Furthermore, AffirmationsList should be AffirmationList to match the intended composable name. These syntax errors prevent the application from building.
I am using Android Studio Panda 1
Steps to Reproduce:
Navigate to Unit 3, Pathway 2, Add a list on your app.
Review code snippet for Surface Composable.
Observe invalid argument naming and syntax errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions