@Override
 public void onLoaderReset(Loader<Cursor> loader) {
   mAdapter.swapCursor(null);
 }
 @Override
 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
   // Swap the new cursor in. The Framework will take care of closing old cursor.
   mAdapter.swapCursor(data);
   Log.i("MainActivity", "Swapping Cursor");
 }