Radio button checked and unchecked in android code example
Example 1: android radiobutton setchecked
radioGroup.check(R.id.radioButtonId);
Example 2: android radiobutton setchecked
radio1.setChecked(true);
radioGroup.check(R.id.radioButtonId);
radio1.setChecked(true);