public abstract class BaseAdapter extends Object implements ListAdapter, SpinnerAdapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION| Constructor and Description |
|---|
BaseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areAllItemsEnabled() |
View |
getDropDownView(int position,
View convertView,
ViewGroup parent) |
int |
getItemViewType(int position) |
int |
getViewTypeCount() |
boolean |
hasStableIds() |
boolean |
isEmpty() |
boolean |
isEnabled(int position) |
void |
notifyDataSetChanged() |
void |
notifyDataSetInvalidated() |
void |
registerDataSetObserver(DataSetObserver observer) |
void |
unregisterDataSetObserver(DataSetObserver observer) |
public boolean hasStableIds()
hasStableIds in interface Adapterpublic void registerDataSetObserver(DataSetObserver observer)
registerDataSetObserver in interface Adapterpublic void unregisterDataSetObserver(DataSetObserver observer)
unregisterDataSetObserver in interface Adapterpublic void notifyDataSetChanged()
public void notifyDataSetInvalidated()
public boolean areAllItemsEnabled()
areAllItemsEnabled in interface ListAdapterpublic boolean isEnabled(int position)
isEnabled in interface ListAdapterpublic View getDropDownView(int position, View convertView, ViewGroup parent)
getDropDownView in interface SpinnerAdapterpublic int getItemViewType(int position)
getItemViewType in interface Adapterpublic int getViewTypeCount()
getViewTypeCount in interface AdapterCopyright © 2008-2013. All Rights Reserved.