I would like to make a structure with the condition (if-else) RadioButton
RadioButton
I want that when the Radiobutton RB1 is selected, this function is ac
radiobuttonObj.isChecked() will give you boolean
radiobuttonObj.isChecked()
if(radiobuttonObj1.isChecked()){ //do what you want }else if(radiobuttonObj2.isChecked()){ //do what you want }