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

Use function types and lambda expressions in Kotlin: Android Basics with Compose #173

Open
orati1111 opened this issue Dec 25, 2024 · 0 comments

Comments

@orati1111
Copy link

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-function-types-and-lambda?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-function-types-and-lambda#5

In which task and step of the codelab can this issue be found?
In the use repeat() function section

Describe the problem
A minor editing mistake, in the task it says to "call the repeat() function" in-between 2 other functions
but in the code snippet it shows other wise.
in the first screenshot it can be seen that the task asks for the "repeat" to be between the "treatFunction()" "trickFunction()" functions
but in the snippet the repeat is under both functions
and in the second screenshot it asks to move the "treatFunction()" inside the repeat, but the "trickFunction()" appears underneath the "repeat" function (as it should have been)
so the problem is in the first code snippet

Steps to reproduce?

  1. Go to the link provided
  2. Scroll down to the first task
  3. Compare the first code snippet to what is being asked above

Versions
Android Studio version:
API version of the emulator:

Additional information
the first task and the code snippet
image

the second task and code snippet
image

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