I'm working on this project https://developer.android.google.cn/codelabs/basic-android-kotlin-training-project-lunch-tray , and the final project is very similar to https://github.com/ErickPimentel/LunchTray , but I add android:checked to RadioButton, for example, @{viewModel.accompaniment.name.equals(@string/bread)} (I put all hard coded strings in string.xml).
But it does not work fine, it can't checked any radio button.