How to get the corresponding textview related to a togglebutton in a costum listview?
<p>I have a listview using a costumized ArrayAdapter. I have a textview and a togglebutton inside my list child(single_row.xml). My toggle button is meant to mark/unmark my list items as favorites. In order to update my database (SQLite) I need to access the corresponding textview which is beside the togglebutton. </p>

<p>My problem is that it I don't know how to get the corresponding textview. I am not sure how they are related.</p>

<p>I hope the question is clear.
Thanks</p>
