Cursor unregisterDataSetObserver - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Cursor unregisterDataSetObserver method.

This code example shows how to use the following methods:close, unregisterContentObserver, unregisterDataSetObserver
This code example shows how to use the following methods:close, getColumnIndexOrThrow, registerContentObserver, registerDataSetObserver, unregisterContentObserver
This code example shows how to use the following methods:unregisterDataSetObserver
    wrappedCursor.registerDataSetObserver(dataSetObserver);
  } 
 
  @Implementation 
  public void unregisterDataSetObserver(DataSetObserver dataSetObserver) {
    wrappedCursor.unregisterDataSetObserver(dataSetObserver);
  } 
 
  @Implementation 
  public void setNotificationUri(ContentResolver contentResolver, Uri uri) {
    wrappedCursor.setNotificationUri(contentResolver, uri);
  } 
 
  @Implementation 
  public boolean getWantsAllOnMoveCalls() { 
    return wrappedCursor.getWantsAllOnMoveCalls();
  } 
 
  @Implementation 
  public Bundle getExtras() {
7
CodeRank
This code example shows how to use the following methods:unregisterContentObserver, unregisterDataSetObserver
This code example shows how to use the following methods:unregisterDataSetObserver
        wrappedCursor.registerDataSetObserver(dataSetObserver);
    } 
 
    @Implementation 
    public void unregisterDataSetObserver(DataSetObserver dataSetObserver) {
        wrappedCursor.unregisterDataSetObserver(dataSetObserver);
    } 
 
    @Implementation 
    public void setNotificationUri(ContentResolver contentResolver, Uri uri) {
        wrappedCursor.setNotificationUri(contentResolver, uri);
    } 
 
    @Implementation 
    public boolean getWantsAllOnMoveCalls() { 
        return wrappedCursor.getWantsAllOnMoveCalls();
    } 
 
    @Implementation 
    public Bundle getExtras() {
6
CodeRank
This code example shows how to use the following methods:unregisterDataSetObserver
	cursor.registerDataSetObserver(observer);
    } 
 
    @Implementation 
    public void unregisterDataSetObserver(DataSetObserver observer) {
	cursor.unregisterDataSetObserver(observer);
    } 
 
    @Implementation 
    public void setNotificationUri(ContentResolver cr, Uri uri) {
	cursor.setNotificationUri(cr, uri);
    } 
 
    @Implementation 
    public boolean getWantsAllOnMoveCalls() { 
	return cursor.getWantsAllOnMoveCalls();
    } 
 
    @Implementation 
    public Bundle getExtras() {
5
CodeRank
This code example shows how to use the following methods:unregisterDataSetObserver
	/* (non-Javadoc) 
	 * @see android.database.Cursor#unregisterDataSetObserver(android.database.DataSetObserver) 
	 */ 
	@Override 
	public void unregisterDataSetObserver(DataSetObserver observer) {
		mCursor.unregisterDataSetObserver(observer);
	} 
	 
	/** 
	 *   Implementaci�n de los m�todos de la Interface Iterable. 
	 *    
	 *   Tan solo realizamos las acciones indicadas sobre el Cursor pasado 
	 * en el constructor. 
	 */ 
	@Override 
	public Iterator<Entity> iterator() {
		return new EntityIterator(); 
	} 
	 
	/**  
5
CodeRank
This code example shows how to use the following methods:unregisterDataSetObserver
This code example shows how to use the following methods:unregisterDataSetObserver
     * Sets a new cursor as the data set and resets the cache of indices. 
     * @param cursor the new cursor to use as the data set 
     */ 
    public void setCursor(Cursor cursor) {
        if (mDataCursor != null) {
            mDataCursor.unregisterDataSetObserver(this);
        } 
        mDataCursor = cursor;
        if (cursor != null) {
            mDataCursor.registerDataSetObserver(this);
        } 
        mAlphaMap.clear();
    } 
 
    /** 
     * Performs a binary search or cache lookup to find the first row that 
     * matches a given section's starting letter. 
     * @param sectionIndex the section to search for 
     * @return the row index of the first occurrence, or the nearest next letter. 
     * For instance, if searching for "T" and no "T" is found, then the first 
5
CodeRank
This code example shows how to use the following methods:unregisterDataSetObserver

Related Cursor unregisterDataSetObserver Questions & Answers:

unregisterDataSetObserver Method Overview
Unregister an observer that has previously been registered with this cursor via registerContentObserver(ContentObserver).
See Code Examples for other Android Cursor Methods: