Java Code Examples for android.database.DataSetObserver#onInvalidated()

The following examples show how to use android.database.DataSetObserver#onInvalidated() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractWheelAdapter.java    From RxTools-master with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 2
Source File: AbstractWheelAdapter.java    From RxTools-master with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 3
Source File: AbstractWheelAdapter.java    From AssistantBySDK with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 4
Source File: AbstractWheelAdapter.java    From o2oa with GNU Affero General Public License v3.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 5
Source File: AbstractWheelAdapter.java    From CoolClock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 6
Source File: AbstractWheelAdapter.java    From myapplication with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 7
Source File: AbstractWheelAdapter.java    From BigApp_Discuz_Android with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 8
Source File: AbstractWheelAdapter.java    From TimePickerDialog with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 9
Source File: AbstractWheelAdapter.java    From bither-android with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 10
Source File: AbstractWheelAdapter.java    From iSCAU-Android with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 11
Source File: AbstractWheelAdapter.java    From Mupdf with Apache License 2.0 5 votes vote down vote up
/**
 * Notifies observers about invalidating data
 */
protected void notifyDataInvalidatedEvent() {
    if (datasetObservers != null) {
        for (DataSetObserver observer : datasetObservers) {
            observer.onInvalidated();
        }
    }
}
 
Example 12
Source File: CompoundAdapter.java    From J2ME-Loader with Apache License 2.0 4 votes vote down vote up
@Override
public void process() {
	for (DataSetObserver observer : observers) {
		observer.onInvalidated();
	}
}
 
Example 13
Source File: BooksAdapter.java    From document-viewer with GNU General Public License v3.0 4 votes vote down vote up
protected void notifyDataSetInvalidated() {
    for (final DataSetObserver dso : _dsoList) {
        dso.onInvalidated();
    }
}