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

Apache License 2.0
57 stars 49 forks source link

Use nullability with Kotlin: Android Basics with Compose #140

Closed LouisWarren closed 5 months ago

LouisWarren commented 5 months ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-nullability?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-1%3F_gl%3D1*136n04c*_up*MQ..*_ga*OTAzNTU3NDkzLjE3MTc0MTU3MzA.*_ga_6HH9YJMN9M*MTcxNzQxNTcyOS4xLjAuMTcxNzQxNTcyOS4wLjAuMA..%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-nullability&_gl=1*136n04c*_up*MQ..*_ga*OTAzNTU3NDkzLjE3MTc0MTU3MzA.*_ga_6HH9YJMN9M*MTcxNzQxNTcyOS4xLjAuMTcxNzQxNTcyOS4wLjAuMA..#2

In which task and step of the codelab can this issue be found? Task 3 first line

Describe the problem It says this "Previously, you learned to use the . operator to access"

Either, this is correct, and task 2 does not cover this, or this is incorrect and it is supposed to say: "Previously, you learned to use the ? operator to access"

Steps to reproduce?

  1. Go to the link in the URL
  2. Click on task 3 (Handle nullable variables)
  3. See error...

Versions Android Studio version: API version of the emulator:

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

LouisWarren commented 5 months ago

made an error, pls ignore