google-developer-training / basic-android-kotlin-compose-training-dice-roller

Apache License 2.0
57 stars 49 forks source link

Write conditionals in Kotlin: Android Basics with Compose #120

Closed JuncProgramming closed 7 months ago

JuncProgramming commented 9 months ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-conditionals?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-conditionals#0

In which task and step of the codelab can this issue be found? In the "What you'll learn" step.

Describe the problem The "How to write if/else statements." and "How to write when statements." is duplicated

Steps to reproduce?

  1. Go to... https://developer.android.com/codelabs/basic-android-kotlin-compose-conditionals?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-conditionals#0
  2. Click on... Scroll down to "What you'll learn" step
  3. See error... There should be 2 learning points duplicated

Additional information Include screenshots if they would be useful in clarifying the problem. image

johnshea commented 7 months ago

Hi @JuncProgramming

Thank you for writing in with you concern.

They might look duplicated but they are not.

The first two end in "statements".

The next two end in "expressions".

Hope this clears it up and that you are enjoying the course!

Regards.