google-developer-training / basic-android-kotlin-compose-training-tip-calculator

Apache License 2.0
61 stars 93 forks source link

Calculate a custom tip: Android Basics with Compose #200

Open alvinboatright opened 5 months ago

alvinboatright commented 5 months ago

URL of codelab

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

Describe the problem

Basically after step four(4), the tip percentage should no longer be hard coded, however, it is still hard coded. I did not test the effect of it being hard coded when we create an observerable to handle the tip percentage so that the user can change it, but I am assuming that it should fallback to the hard coded value for the tip percentage which is 15.0.

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.