Code example for Cursor

Methods: isClosedrequery

0
	 *  
	 * @see ContentObserver#onChange(boolean) 
	 */ 
	@SuppressWarnings("deprecation") 
	protected void onContentChanged() { 
		if (mAutoRequery && mCursor != null && !mCursor.isClosed()) {
			mDataValid = mCursor.requery();
		} 
	} 
 
	private class ChangeObserver extends ContentObserver {
		public ChangeObserver() { 
			super(new Handler());
		} 
 
		@Override 
		public boolean deliverSelfNotifications() { 
			return true; 
		} 
 
		@Override