google-developer-training / basic-android-kotlin-compose-birthday-card-app

Apache License 2.0
126 stars 96 forks source link

Variables in Kotlin: Android Basics with Compose #883

Open mikulobams opened 1 month ago

mikulobams commented 1 month ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-variables?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-variables#4

In which task and step of the codelab can this issue be found? Task 5 Step 1

Describe the problem The logic of the algorithm does not make sense. It adds up 3 trips and says their total is the amount of distance left on the trip. I believe it will be more logical for it to be the total distance travelled so far on the trip

Steps to reproduce?

  1. Go to...
  2. Click on...
  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.