Code example for SimpleCursorAdapter

Methods: notifyDataSetChanged

			getLoaderManager().initLoader(0, null, this);
	public void updateList() { 
	public Loader<Cursor> onCreateLoader(int id, Bundle args) {
		// This is called when a new Loader needs to be created.  This 
		// sample only has one Loader, so we don't care about the ID. 
		// First, pick the base URI to use depending on whether we are 
		// currently filtering. 
		Uri baseUri = TaskColumns.CONTENT_URI;
		// Now create and return a CursorLoader that will take care of 
		// creating a Cursor for the data being displayed. 
		return new CursorLoader(getActivity(), baseUri,
				new String[] { TaskColumns._ID, TaskColumns.KEY_TITLE, TaskColumns.KEY_NOTES, TaskColumns.KEY_UPDATED },
Contextual code suggestions in your IDE  Get Codota for Java