Reaching all entries of ListView
<p>I'm using ListView to show all records from the database. Each row of the list has an additional checkbox. I want to make a button that when pressed will delete all checked records. However, when I'm iterating through the list and trying to get the reference to the rows with getChildAt(index), I can reach only 3 initial entries because the rest of them are hidden and in the application I have to use scrollbar for them. </p>

<p>How can I reach them that something like that worked fine:</p>

<pre><code>for( int i = 0; i &lt; taskList.size(); i++ ){
   View row = list.getChildAt(i);
   CheckBox checkBox = (CheckBox)row.findViewById(R.id.checkbox)
}
</code></pre>
