Code example for DataSetObservable

Methods: notifyChanged

0
	/** 
	 * This method should be called by the application if the data backing this adapter has changed 
	 * and associated views should update. 
	 */ 
	public void notifyDataSetChanged() { 
		mObservable.notifyChanged();
	} 
 
	public void registerDataSetObserver(DataSetObserver observer) {
		mObservable.registerObserver(observer);
	} 
 
	public void unregisterDataSetObserver(DataSetObserver observer) {
		mObservable.unregisterObserver(observer);
	} 
 
	/** 
	 * This method may be called by the ViewPager to obtain a title string 
	 * to describe the specified page. This method may return null 
	 * indicating no title for this page. The default implementation returns 
	 * null.