public void refreshTester( TextView question, List<RadioButton> radioArrey, structQA QA, RadioGroup groupAnswer ) { groupAnswer.ClearCheck (); question.Text = QA.question; for (int counter = 0; counter < radioArrey.Count; counter++) { radioArrey [counter].Text = QA.answer [counter]; } }
protected override void OnCreate(Bundle bundle) { base.OnCreate (bundle); SetContentView (Resource.Layout.FinalDialog); bSMS = FindViewById<RadioButton> (Resource.Id.radioButtonSMS); bEmail = FindViewById<RadioButton> (Resource.Id.radioButtonEmail); group = FindViewById<RadioGroup> (Resource.Id.radioGroup1); group.ClearCheck (); bSMS.Click += new EventHandler(bSMS_Click); bEmail.Click += new EventHandler (bEmail_Click); }