Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setRadiobutton = MyApplication.getSelectedNewsLetter();
- if (setRadiobutton != 0) {
- // If not equal to 0,Set the selected previous position in radio
- // group
- rb[setRadiobutton].setChecked(true);
- } else {
- // If equal to 0,Set the default position 0.
- rb[0].setChecked(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement