You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a typo in the code sample in the AffirmationsApp function. The Modifier parameter for Surface should be modifier = Modifier, not Modifier = Modifier.
In which lesson and step of the codelab can this issue be found?
Lesson 3 "Add a list to your app" in the section titled "Display the list" in step 4.
How to reproduce?
Follow the codelab to Lesson 3 "Add a list to your app" in the section titled "Display the list" in step 4.
In the fun AffirmationsApp(), notice the Modifier parameter for Surface is incorrectly written as Modifier = Modifier.
Versions
Android Studio Version: Android Studio Ladybug Feature Drop | 2024.2.2 Canary 6
API Level: Targeting API level 34
Additional information
This typo can be confusing for beginners following the codelab. Correcting it will improve the learning experience.
The text was updated successfully, but these errors were encountered:
Name of the Codelab or Codelab URL
https://developer.android.com/codelabs/basic-android-kotlin-compose-training-add-scrollable-list#0
Describe the problem
There's a typo in the code sample in the
AffirmationsApp
function. TheModifier
parameter forSurface
should bemodifier = Modifier
, notModifier = Modifier
.In which lesson and step of the codelab can this issue be found?
Lesson 3 "Add a list to your app" in the section titled "Display the list" in step 4.
How to reproduce?
fun AffirmationsApp()
, notice theModifier
parameter forSurface
is incorrectly written asModifier = Modifier
.Versions
Additional information
This typo can be confusing for beginners following the codelab. Correcting it will improve the learning experience.
The text was updated successfully, but these errors were encountered: