Code example for DataSetObservable

Methods: unregisterObserver

0
     * adapter via {@link #unregisterDataSetObserver(DataSetObserver)} 
     *  
     * @param observer The object to unregister 
     */ 
    public void unregisterDataSetObserver(DataSetObserver observer) {
        mDataSetObservable.unregisterObserver(observer);
    } 
 
    /** 
     * Notifies the attached View that the underlying data has changed and 
     * should refresh itself. 
     */ 
    public void notifyDataSetChanged() { 
        mDataSetObservable.notifyChanged();
    } 
}