google-developer-training / android-basics-kotlin-cupcake-app

Apache License 2.0
103 stars 163 forks source link

Dependency updates and addition of reset order before the start of the new order #96

Open bekzad opened 1 year ago

bekzad commented 1 year ago
  1. Updated Kotlin, Gradle and AGP.
  2. Target and Compile versions updated.
  3. Updated all dependencies (Changed Transformations.map to new Livedata.map method).
  4. Removed warning - "OnCreateView always returns non-null".
  5. Added viewModel.resetOrder() to StartFragment, if the user navigates back to it and starts the order again, user will see clean order.
berila7 commented 1 year ago

what is the difference between Transformations.map and _price.map