Code example for ListAdapter

Methods: registerDataSetObserverunregisterDataSetObserverareAllItemsEnabled

0
		} 
 
		mAdapter = adapter;
 
		if (mAdapter != null) {
			mAdapter.registerDataSetObserver(mDataObserver);
			mAreAllItemsSelectable = mAdapter.areAllItemsEnabled();
		} 
 
		setupChildren(); 
 
	} 
 
	/** 
	 * Interface definition for a callback to be invoked when an item in this 
	 * LinearListView has been clicked. 
	 */ 
	public interface OnItemClickListener { 
 
		/** 
		 * Callback method to be invoked when an item in this LinearListView has