Code example for DataSetObservable

Methods: notifyChanged

0
        mDataSetObservable.unregisterObserver(observer);
    } 
     
    @Override 
	public void notifyDataSetChanged() { 
        mDataSetObservable.notifyChanged();
    } 
     
    @Override 
	public void notifyDataSetInvalidated() { 
        mDataSetObservable.notifyInvalidated();
    } 
 
    @Override 
	public boolean areAllItemsEnabled() { 
        return true; 
    } 
 
    @Override 
	public boolean isEnabled(int position) {
        return true;