Java android.widget ListAdapter fields, constructors, methods, implement or subclass

Example usage for Java android.widget ListAdapter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget ListAdapter.

The text is from its open source code.

Implementation

android.widget.ListAdapter has the following implementations.
Click this link to see all its implementation.

Constructor

Method

booleanareAllItemsEnabled()
Indicates whether all the items in this adapter are enabled.
ClassgetClass()
Returns the runtime class of this Object .
intgetCount()
How many items are in the data set represented by this Adapter.
ObjectgetItem(int position)
Get the data item associated with the specified position in the data set.
longgetItemId(int position)
Get the row id associated with the specified position in the list.
intgetItemViewType(int position)
Get the type of View that will be created by #getView for the specified item.
ViewgetView(int position, View convertView, ViewGroup parent)
Get a View that displays the data at the specified position in the data set.
intgetViewTypeCount()

Returns the number of types of Views that will be created by #getView .

booleanhasStableIds()
Indicates whether the item ids are stable across changes to the underlying data.
booleanisEmpty()
booleanisEnabled(int position)
Returns true if the item at the specified position is not a separator.
voidregisterDataSetObserver(DataSetObserver observer)
Register an observer that is called when changes happen to the data used by this adapter.
voidunregisterDataSetObserver(DataSetObserver observer)
Unregister an observer that has previously been registered with this adapter via #registerDataSetObserver .