Code example for PagerAdapter

Methods: notifyDataSetChanged

			if (mDataSetObserver != null)
			mRowIDColumn = newCursor.getColumnIndexOrThrow("_id");
			mDataValid = true;
			// notify the observers about the new cursor 
		} else { 
			mRowIDColumn = -1;
			mDataValid = false;
			// notify the observers about the lack of a data set 
		return oldCursor;
	 * <p> 
	 * Converts the cursor into a CharSequence. Subclasses should override this 
	 * method to convert their results. The default implementation returns an 
	 * empty String for null values or the default String representation of the 
Stop searching for code, let great code find you!  Add Codota to your java IDE