Advertisement
Guest User

dfg

a guest
Mar 3rd, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. setRadiobutton = MyApplication.getSelectedNewsLetter();
  2. if (setRadiobutton != 0) {
  3. // If not equal to 0,Set the selected previous position in radio
  4. // group
  5. rb[setRadiobutton].setChecked(true);
  6. } else {
  7. // If equal to 0,Set the default position 0.
  8. rb[0].setChecked(true);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement