title: How to show dividers after some items in a listview?
body: <p>I'm building a list that is sorted alphabetically. The list should show a divider containing the Letter that the following icons belong to. </p>
  
  <p>I'm using a Cursoradapter that contains the already sorted result from the database.
  I plan on adding the divider to the list item and set it to visible if the shown letter changes. How do I know that I have a new Letter? Is there a better way then going forward or backward in the cursor and check if the item I show is the end or beginning of a new group?</p>