FileDocCategorySizeDatePackage
ListAdapter.javaAPI DocAndroid 1.5 API1488Wed May 06 22:41:56 BST 2009android.widget

ListAdapter

public interface ListAdapter implements Adapter
Extended {@link Adapter} that is the bridge between a {@link 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.

Fields Summary
Constructors Summary
Methods Summary
public booleanareAllItemsEnabled()
Are all items in this ListAdapter enabled? If yes it means all items are selectable and clickable.

return
True if all items are enabled

public booleanisEnabled(int position)
Returns true if the item at the specified position is not a separator. (A separator is a non-selectable, non-clickable item).

param
position Index of the item
return
True if the item is not a separator