public interface ListAdapter extends Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
Modifier and Type | Method and Description |
---|---|
boolean |
areAllItemsEnabled()
Indicates whether all the items in this adapter are enabled.
|
boolean |
isEnabled(int position)
Returns true if the item at the specified position is not a separator.
|
getCount, getItem, getItemId, getItemViewType, getView, getViewTypeCount, hasStableIds, isEmpty, registerDataSetObserver, unregisterDataSetObserver
boolean areAllItemsEnabled()
isEnabled(int)
boolean isEnabled(int position)
ArrayIndexOutOfBoundsException
should be thrown in that case for fast failure.position
- Index of the itemareAllItemsEnabled()