HeaderViewListAdapter
public
class
HeaderViewListAdapter
extends Object
implements
Filterable,
WrapperListAdapter
| java.lang.Object | |
| ↳ | android.widget.HeaderViewListAdapter |
ListAdapter used when a ListView has header views. This ListAdapter wraps another one and also keeps track of the header views and their associated data objects.
This is intended as a base class; you will probably not need to use this class directly in your own code.
Summary
Inherited constants |
|---|
Public constructors | |
|---|---|
HeaderViewListAdapter(ArrayList<ListView.FixedViewInfo> headerViewInfos, ArrayList<ListView.FixedViewInfo> footerViewInfos, ListAdapter adapter)
|
|
Public methods | |
|---|---|
boolean
|
areAllItemsEnabled()
Indicates whether all the items in this adapter are enabled. |
int
|
getCount()
How many items are in the data set represented by this Adapter. |
Filter
|
getFilter()
Returns a filter that can be used to constrain data with a filtering pattern. |
int
|
getFootersCount()
|
int
|
getHeadersCount()
|
Object
|
getItem(int position)
Get the data item associated with the specified position in the data set. |
long
|
getItemId(int position)
Get the row id associated with the specified position in the list. |
int
|
getItemViewType(int position)
Get the type of View that will be created by |
View
|
getView(int position, View convertView, ViewGroup parent)
Get a View that displays the data at the specified position in the data set. |
int
|
|