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 #132

Open
CraigyMack opened this issue Sep 30, 2024 · 0 comments
Open

Android Compose Add a Scrollable List #132

CraigyMack opened this issue Sep 30, 2024 · 0 comments

Comments

@CraigyMack
Copy link

CraigyMack commented Sep 30, 2024

Name of the Codelab or Codelab URL

Describe the problem
A clear and concise description of what the problem is.
The example code proposers the learner type this:
"
Surface(
Modifier = Modifier
.fillMaxSize()
"

The first "Modifier" in the pasted content here should be lowercase as "modifier" as it is the name of the parameter.

However, this is not found in the "Intermediate" solution code for downloading. It is only present on the CodeLab

In which lesson and step of the codelab can this issue be found?
Lesson number + step number.

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

Which is to say:
TRAINING-> ANDROID BASICS WITH COMPOSE-> DISPLAY LISTS AND USE MATERIAL DESIGN -> SCROLLABLE LIST-> Build a scrollable list-> 2) Add a scrollable list-> 3. Add a list to your app

How to reproduce?
Load the CodeLab and look at the suggested things to type. In this page, the suggestions don't match what is currently in Git and in the example I pointed out above, leads to a compile error.

Versions

  1. What version of Android Studio are you using?
    Android Studio Jellyfish | 2023.3.1

  2. What API level are you targeting?
    Android 14.0 - API 34

Additional information
Add any other context about the problem here.

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

Here's a screenshot comparing the CodeLab to what was downloaded from GitHub to show the differences and also the error:
Screenshot 2024-09-30 at 8 02 15 PM

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

1 participant