I made a mistake today, when I added a click event to RadioGroup, it was written as follows in a trance:
Nothing happens when I click the button, I realize that I was too careless, or the study was too rough. The RadioGroup click event should be written like this:
Should use setOnCheckedChangeListener this method