Code example for Cursor

Methods: registerContentObserver

0
	/** 
	 * Registers the content observer for the cursor.  
	 * @param cursor {@link Cursor} whose content is to be observed for changes 
	 */ 
	protected void registerContentObserver(Cursor cursor){
		cursor.registerContentObserver(mObserver);
	} 
	 
	@Override 
	public void deliverResult(Cursor data) {
		if (isReset()) {
			if (data != null) {
				onReleaseResources(data);
			} 
			return; 
		} 
 
		Cursor oldCursor = mCursor;
		mCursor = data;
 
		if (isStarted()) {