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

Apache License 2.0
103 stars 163 forks source link

Android Basics: Shared ViewModel #70

Closed Andy-Cuong closed 8 months ago

Andy-Cuong commented 2 years ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-training-shared-viewmodel#5

In which task and step of the codelab can this issue be found? Step 6: Use ViewModel with data binding

Describe the problem This is not really a problem, but I feel like that setting the checked property for the radio button is not necessary, since all the button are placed inside the radio group which can make sure that there is no way two button can be checked at the same time

image