I have 2 separate layout files:
The first one contains 3 radio buttons (no RadioGroup used). The user has to choose the correct answer. After checking an option, when the user clicks the button, I hide the Layout1 and display the Layout2 with the result. When the user clicks the button again, I hide Layout2 and display Layout1. The problem is that the radio button remains checked.
What I have tried, is to use:
rb2.isChecked = false
When I click the button the second time, before displaying again Layout1, the radio button is unchecked but the problem is that the unchecking operation is displayed. How can I display the radio button unchecked by default, without seeing the unchecking operation?