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 Basics: Viewmodel and State in Compose #202

Open
bielsnohr opened this issue Aug 4, 2024 · 0 comments
Open

Android Basics: Viewmodel and State in Compose #202

bielsnohr opened this issue Aug 4, 2024 · 0 comments

Comments

@bielsnohr
Copy link

URL of codelab

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

In which task and step of the codelab can this issue be found?

Task 6. Architecting your Compose UI, Step 5

Describe the problem

This step states:

Update the GameLayout() composable function to display currentScrambledWord. Set the text parameter of the first text field in the column to currentScrambledWord.

However, the first Text composable in the starter branch code is actually the count of how many puzzles the user has solved in the current session. Instead, it is the second Text composable of GameLayOut() that should have the text argument replaced, and what is more, the code snippet displayed in this step is out of date with the code in the project itself.

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