title: How to get selected radio button for each row in a ListView
body: <p>I have a list of students in a <code>ListView</code> for which I want to keep track of attendance (somewhat similar to <a href="https://stackoverflow.com/questions/21674286/how-to-get-checked-radio-button-in-list-view">How to get checked radio button in list view?</a> and <a href="https://stackoverflow.com/questions/12602426/listview-with-checkbox-radiobutton-textview-and-button-not-working-correctly-in">Listview with Checkbox,RadioButton,Textview and button not working correctly in android</a>).</p>
  
  <p>When the user hits the submit-button I need to know for each row what the <code>RadioGroup</code> was set to, in order to then save the values back into a database (been using <code>SimpleCursorAdapter</code> so far).</p>
  
  <p>I've looked into <code>SimpleCursorAdapter.getCount()</code> and <code>RadioGroup.getCheckedRadioButtonId()</code> to use a for-loop to traverse the list but still can't figure out how to get a hold of the <code>RadioGroup</code> for each list item.</p>
  
  <p><code>listView.getAdapter().getItem()</code> ?</p>
  
  <p>Could you please point me in the right direction? I'm not trying to do anything when the user checks an item or when the state of a button is changed.</p>