Closed casti093 closed 10 months ago
URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
fun orderCupcake(quantity: Int) { sharedViewModel.setQuantity(quantity) if (sharedViewModel.hasNoFlavorSet()) { sharedViewModel.setFlavor(getString(R.string.vanilla)) } findNavController().navigate(R.id.action_startFragment_to_flavorFragment) }
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.
URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
fun orderCupcake(quantity: Int) { sharedViewModel.setQuantity(quantity) if (sharedViewModel.hasNoFlavorSet()) { sharedViewModel.setFlavor(getString(R.string.vanilla)) } findNavController().navigate(R.id.action_startFragment_to_flavorFragment) }
Steps to reproduce?
Versions Android Studio version: API version of the emulator:
Additional information Include screenshots if they would be useful in clarifying the problem.