CodePudding user response:
The description of some questions to you: problem solving process is a problem of two options, select a later, will enter a problem at the same time button to empty right? How display before the selected Radiobutton button, which you describe in which part of the answer?CodePudding user response:
To empty the selected button: mRadioGroup clearCheck ();Record their own choice, if there are only two options, that can put the results were recorded as 1 and 2, select the first button, in the method setOnCheckedChangeListener, determine which button, record the results of the corresponding to the array, it is workable,