So I'm writing an app that requires me to have a radio group, and when a certain radio button is clicked in that group, points get added to the total.
So far, I have
int radiobuttonid = rg.getCheckedRadioButtonId();
rb = (RadioButton) findViewbyId(radiobuttonId);
This is to get what radio button is pressed, but I have no idea how to get a string/text from the button to form my if-else statements. Any ideas?