title: Android: how to use CursorAdapter?
body: <p>I have a database, a <code>ListView</code>, and a <code>CustomCursorAdapter</code> that extends <code>CursorAdapter</code>. A menu button adds an item to the database. I want the <code>ListView</code> to update and show this change. Normally it doesn't show this new item until i go to the homescreen and reopen the application. </p>
  
  <p>I did eventually get it to work by calling <code>cursor.requery()</code> or <code>mCustomCursorAdapter.changeCursor(newCursor)</code> whenever I added a new item, but when I set autoRequery to false in the <code>CursorAdapter</code> constructor, it worked just the same. Why does it update correctly when autoRequery is set to false?</p>
  
  <p>Am I using <code>CursorAdapter</code> correctly? What is the standard way of keeping the list updated with the database? And what does autoRequery do?</p>