android.widget
Class HeaderViewListAdapter
java.lang.Object
android.widget.HeaderViewListAdapter
- All Implemented Interfaces:
- Adapter, Filterable, ListAdapter, WrapperListAdapter
public class HeaderViewListAdapter
- extends Object
- implements WrapperListAdapter, Filterable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderViewListAdapter
public HeaderViewListAdapter(ArrayList<ListView.FixedViewInfo> headerViewInfos,
ArrayList<ListView.FixedViewInfo> footerViewInfos,
ListAdapter adapter)
getHeadersCount
public int getHeadersCount()
getFootersCount
public int getFootersCount()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Adapter
removeHeader
public boolean removeHeader(View v)
removeFooter
public boolean removeFooter(View v)
getCount
public int getCount()
- Specified by:
getCount in interface Adapter
areAllItemsEnabled
public boolean areAllItemsEnabled()
- Specified by:
areAllItemsEnabled in interface ListAdapter
isEnabled
public boolean isEnabled(int position)
- Specified by:
isEnabled in interface ListAdapter
getItem
public Object getItem(int position)
- Specified by:
getItem in interface Adapter
getItemId
public long getItemId(int position)
- Specified by:
getItemId in interface Adapter
hasStableIds
public boolean hasStableIds()
- Specified by:
hasStableIds in interface Adapter
getView
public View getView(int position,
View convertView,
ViewGroup parent)
- Specified by:
getView in interface Adapter
getItemViewType
public int getItemViewType(int position)
- Specified by:
getItemViewType in interface Adapter
getViewTypeCount
public int getViewTypeCount()
- Specified by:
getViewTypeCount in interface Adapter
registerDataSetObserver
public void registerDataSetObserver(DataSetObserver observer)
- Specified by:
registerDataSetObserver in interface Adapter
unregisterDataSetObserver
public void unregisterDataSetObserver(DataSetObserver observer)
- Specified by:
unregisterDataSetObserver in interface Adapter
getFilter
public Filter getFilter()
- Specified by:
getFilter in interface Filterable
getWrappedAdapter
public ListAdapter getWrappedAdapter()
- Specified by:
getWrappedAdapter in interface WrapperListAdapter
Copyright © 2008-2012. All Rights Reserved.