Code example for Adapter

Methods: isEmpty

0
	 */ 
	public void setEmptyView( View emptyView ) {
		mEmptyView = emptyView;
 
		final T adapter = getAdapter();
		final boolean empty = ( ( adapter == null ) || adapter.isEmpty() );
		updateEmptyStatus( empty );
	} 
 
	/** 
	 * When the current adapter is empty, the AdapterView 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 AdapterView. 
	 *  
	 * @return The view to show if the adapter is empty. 
	 */ 
	public View getEmptyView() {
		return mEmptyView;
	} 
 
	/** 
	 * Indicates whether this view is in filter mode. Filter mode can for instance be enabled by a user when typing on the keyboard.