@Override
 public void onLoaderReset(Loader<Cursor> loader) {
   adapter.swapCursor(null);
 }
 @Override
 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
   adapter.swapCursor(data);
 }