Skip to content

Android Compose Add a Scrollable List #231

@nishant2525

Description

@nishant2525

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

In the following snippet from the 3rd section of the mentioned codelab, the Modifier is assigned using Modifier = Modifier, which appears to be a typo and may confuse learners.
Surface(
Modifier = Modifier
.fillMaxSize()
.statusBarsPadding()
.padding(...)
)
Expected:
Surface(
modifier = Modifier
.fillMaxSize()
.statusBarsPadding()
.padding(...)
)

Image

codelab: basic-android-compose-training-add-scrollable-list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions