java.lang.Object | |||
↳ | android.widget.BaseAdapter | ||
↳ | android.widget.CursorAdapter | ||
↳ | android.widget.ResourceCursorAdapter |
Known Direct Subclasses |
An easy adapter that creates views defined in an XML file. You can specify the XML file that defines the appearance of the views.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.Adapter
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Makes a new drop down view to hold the data pointed to by cursor.
| |||||||||||
Inflates view(s) from the specified XML file.
| |||||||||||
Sets the layout resource of the drop down views. | |||||||||||
Sets the layout resource of the item views. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class android.widget.CursorAdapter
| |||||||||||
From class android.widget.BaseAdapter
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface android.widget.Adapter
| |||||||||||
From interface android.widget.Filterable
| |||||||||||
From interface android.widget.ListAdapter
| |||||||||||
From interface android.widget.SpinnerAdapter
|
Constructor.
context | The context where the ListView associated with this SimpleListItemFactory is running |
---|---|
layout | resource identifier of a layout file that defines the views for this list item. Unless you override them later, this will define both the item views and the drop down views. |
Constructor.
context | The context where the ListView associated with this SimpleListItemFactory is running |
---|---|
layout | resource identifier of a layout file that defines the views for this list item. Unless you override them later, this will define both the item views and the drop down views. |
c | The cursor from which to get the data. |
autoRequery | If true the adapter will call requery() on the cursor whenever it changes so the most recent data is always displayed. |
Makes a new drop down view to hold the data pointed to by cursor.
context | Interface to application's global information |
---|---|
cursor | The cursor from which to get the data. The cursor is already moved to the correct position. |
parent | The parent to which the new view is attached to |
Inflates view(s) from the specified XML file.
context | Interface to application's global information |
---|---|
cursor | The cursor from which to get the data. The cursor is already moved to the correct position. |
parent | The parent to which the new view is attached to |
Sets the layout resource of the drop down views.
dropDownLayout | the layout resources used to create drop down views |
---|
Sets the layout resource of the item views.
layout | the layout resources used to create item views |
---|