Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Compose Add a Scrollable List - "Modifier" should be "modifier" #163

Open
Secret-Code opened this issue Jan 3, 2025 · 3 comments

Comments

@Secret-Code
Copy link

Name of the Codelab or Codelab 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

Describe the problem
Under Display the list bullet 3, the code box includes

Surface(
        Modifier = Modifier
  • this results in "Cannot find a parameter with this name: Modifier"
  • should be lower case modifier

In which lesson and step of the codelab can this issue be found?
Unit 3 Pathway 2 Activity 3 "Add a scrollable list" Step 3 "Add a list to your app"

How to reproduce?
Follow the codelab exactly as given.

Versions
N/A - this is a content error

Additional information
N/A

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

@A99TI
Copy link

A99TI commented Jan 18, 2025

Encountered the same issue

@kstutz
Copy link

kstutz commented Jan 19, 2025

Also, the solution code at the end of the tutorial does not contain the Surface at all, so you cannot check there what it should look like.

@xuying7
Copy link

xuying7 commented Jan 25, 2025

agree, same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants