Code example for DataSetObservable

Methods: registerObserver

0
        public void notifyDataSetChanged() { 
                mObservable.notifyChanged();
        } 
 
        public void registerDataSetObserver(DataSetObserver observer) {
                mObservable.registerObserver(observer);
        } 
 
        public void unregisterDataSetObserver(DataSetObserver observer) {
                mObservable.unregisterObserver(observer);
        } 
 
         
        public CharSequence getPageTitle(int position) {
                return null; 
        } 
}