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
@composable
fun AffirmationsApp() {
val layoutDirection = LocalLayoutDirection.current
Surface(
Modifier = Modifier
.fillMaxSize()
.statusBarsPadding()
.padding(
start = WindowInsets.safeDrawing.asPaddingValues()
.calculateStartPadding(layoutDirection),
end = WindowInsets.safeDrawing.asPaddingValues()
.calculateEndPadding(layoutDirection),
),
) {
}
}
function is called AffirmationApp() before in the code, so compiler doesn't recognise it. And first Modifier has to be written in lowercase (modifier = Modifier).
Thanks for the great job doing this training programs! Please do not missunderstand my intentions pointing errors. I just do it as a way to collaborate, not complain.
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?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
In this code snippet:
function is called AffirmationApp() before in the code, so compiler doesn't recognise it. And first Modifier has to be written in lowercase (modifier = Modifier).
Thanks for the great job doing this training programs! Please do not missunderstand my intentions pointing errors. I just do it as a way to collaborate, not complain.
The text was updated successfully, but these errors were encountered: