android.widget
public
interface
android.widget.ListAdapter
The ListAdapter interface acts as a bridge between a ListView and the data that
backs the list. Frequently that data comes from a Cursor, but that is not
required. The ListView can display any data provided that it is wrapped in a
ListAdapter.
Known Indirect Subclasses
Summary
Details
Public Methods
public
boolean
areAllItemsEnabled()
Are all items in this ListAdapter enabled?
If yes it means all items are selectable and clickable.
Returns
- True if all items are enabled
public
boolean
isEnabled(int position)
Returns true if the item at the specified position is not a separator.
(A separator is a non-selectable, non-clickable item).
Parameters
position
| Index of the item |
Returns
- True if the item is not a separator