Example usage for Java android.widget ListAdapter fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | areAllItemsEnabled() Indicates whether all the items in this adapter are enabled. |
Class> | getClass() Returns the runtime class of this Object . |
int | getCount() How many items are in the data set represented by this Adapter. |
Object | getItem(int position) Get the data item associated with the specified position in the data set. |
long | getItemId(int position) Get the row id associated with the specified position in the list. |
int | getItemViewType(int position) Get the type of View that will be created by #getView for the specified item. |
View | getView(int position, View convertView, ViewGroup parent) Get a View that displays the data at the specified position in the data set. |
int | getViewTypeCount() Returns the number of types of Views that will be created by #getView . |
boolean | hasStableIds() Indicates whether the item ids are stable across changes to the underlying data. |
boolean | isEmpty() |
boolean | isEnabled(int position) Returns true if the item at the specified position is not a separator. |
void | registerDataSetObserver(DataSetObserver observer) Register an observer that is called when changes happen to the data used by this adapter. |
void | unregisterDataSetObserver(DataSetObserver observer) Unregister an observer that has previously been registered with this adapter via #registerDataSetObserver . |