Code example for DataSetObservable

Methods: unregisterObserver

0
		regularObservable.registerObserver(observer);
	} 
 
	@Override 
	public void unregisterDataSetObserver(DataSetObserver observer) {
		regularObservable.unregisterObserver(observer);
	} 
 
	void registerInternalDataSetObserver(DataSetObserver observer) {
		internalObservable.registerObserver(observer);
	} 
 
	void unregisterInternalDataSetObserver(DataSetObserver observer) {
		internalObservable.unregisterObserver(observer);
	} 
 
	@Override 
	public int getCount() { 
		// cache the count as it is expensive to count the headers 
		if (cachedCount < 0) {
			positionMapping.clear();