title: Getting the position of a non-visible ListItem
body: <p><strong>The case:</strong>
  I have a ListView with a variable amount of ListItems (e.g. 20). At first items 0-6 are visible. The user now scrolls down the list and clicks item nr. 15. A new activity starts, and at some point the user hits the back button. Now item nr. 15 might be at the same position, have had its position changed or have been deleted (Handling the deleted situation is not the problem). The other two situations will have equal behaviour, apart from how the list is re-populated (which is not the problem either).</p>
  
  <p><strong>What I would like to do:</strong>
  Upon returning to the ListView from item nr. 15, I have saved an ID for the item (using setResult and onActivityResult) and the ListView is re-populated with items. (The item in question, here nr. 15, will always be in the list after re-population)</p>
  
  <p>I then want to scroll the list down to the position of item nr. 15, making item nr. 15 the first visible item in the ListView.</p>
  
  <p><strong>The problem:</strong></p>
  
  <ul>
  <li>Using the methods <code>getChildCount()</code> and <code>getChildAt(index)</code> does not
  solve my problem, as the desired item might be out of view (not shown
  in the list, but in the datacore of the listadapter).</li>
  <li>Using the method <code>getCount()</code> instead of <code>getChildCount()</code> gives me the right number of items in the list - but as soon as I run through the items in a for-loop I run into a NullPointerException when <code>index &gt;= getChildCount()</code>.</li>
  </ul>
  
  <p><strong>My question:</strong></p>
  
  <ul>
  <li>How can I run through all items (visible in list or not) and when I find the item that meets my requirements, scroll the listview making that item the first visible item?</li>
  </ul>