Code example for DataSetObservable

Methods: notifyInvalidated

0
			regularObservable.notifyChanged(); 
		}; 
 
		public void onInvalidated() { 
			cachedCount = -1; 
			internalObservable.notifyInvalidated(); 
			regularObservable.notifyInvalidated(); 
		}; 
	}; 
 
	StickyListHeadersAdapterWrapper(Context context,
			StickyListHeadersAdapter delegate) {
		this.context = context;
		this.delegate = delegate;
		delegate.registerDataSetObserver(datasetObserver);
	} 
 
	void setDivider(Drawable divider) {
		this.divider = divider;
	}