Code example for ListAdapter

Methods: isEmpty

0
	 */ 
	public void setEmptyView(View emptyView) {
		mEmptyView = emptyView;
 
		final ListAdapter adapter = getAdapter();
		final boolean empty = ((adapter == null) || adapter.isEmpty());
		updateEmptyStatus(empty);
	} 
 
	/** 
	 * When the current adapter is empty, the LinearListView can display a special 
	 * view call the empty view. The empty view is used to provide feedback to 
	 * the user that no data is available in this LinearListView. 
	 *  
	 * @return The view to show if the adapter is empty. 
	 */ 
	public View getEmptyView() {
		return mEmptyView;
	} 
 
	/**