Code example for CursorAdapter

Methods: notifyDataSetChanged

0
 
  private class MyDataSetObserver extends DataSetObserver {
    @Override 
    public void onChanged() { 
      mDataValid = true;
      realCursorAdapter.notifyDataSetChanged();
    } 
 
    @Override 
    public void onInvalidated() { 
      mDataValid = false;
      realCursorAdapter.notifyDataSetInvalidated();
    } 
  } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE