| java.lang.Object | |||
| ↳ | android.widget.BaseExpandableListAdapter | ||
| ↳ | android.widget.CursorTreeAdapter | ||
| ↳ | android.widget.ResourceCursorTreeAdapter | ||
   Known Direct Subclasses
  
 | 
A fairly simple ExpandableListAdapter that creates views defined in an XML file. You can specify the XML file that defines the appearance of the views.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor. 
  
   | |||||||||||
Constructor. 
  
   | |||||||||||
Constructor. 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Makes a new child view to hold the data pointed to by cursor. 
  
   | |||||||||||
Makes a new group view to hold the group data pointed to by cursor. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  android.widget.CursorTreeAdapter
 | |||||||||||
   
From class
  android.widget.BaseExpandableListAdapter
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  android.widget.ExpandableListAdapter
 | |||||||||||
   
From interface
  android.widget.Filterable
 | |||||||||||
   
From interface
  android.widget.HeterogeneousExpandableList
 | |||||||||||
Constructor.
| context | The context where the ListView associated with this SimpleListItemFactory is running | 
|---|---|
| cursor | The database cursor | 
| collapsedGroupLayout | resource identifier of a layout file that defines the views for collapsed groups. | 
| expandedGroupLayout | resource identifier of a layout file that defines the views for expanded groups. | 
| childLayout | resource identifier of a layout file that defines the views for all children but the last.. | 
| lastChildLayout | resource identifier of a layout file that defines the views for the last child of a group. | 
Constructor.
| context | The context where the ListView associated with this SimpleListItemFactory is running | 
|---|---|
| cursor | The database cursor | 
| collapsedGroupLayout | resource identifier of a layout file that defines the views for collapsed groups. | 
| expandedGroupLayout | resource identifier of a layout file that defines the views for expanded groups. | 
| childLayout | resource identifier of a layout file that defines the views for all children. | 
Constructor.
| context | The context where the ListView associated with this SimpleListItemFactory is running | 
|---|---|
| cursor | The database cursor | 
| groupLayout | resource identifier of a layout file that defines the views for all groups. | 
| childLayout | resource identifier of a layout file that defines the views for all children. | 
Makes a new child 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. | 
| isLastChild | Whether the child is the last child within its group. | 
| parent | The parent to which the new view is attached to | 
Makes a new group view to hold the group data pointed to by cursor.
| context | Interface to application's global information | 
|---|---|
| cursor | The group cursor from which to get the data. The cursor is already moved to the correct position. | 
| isExpanded | Whether the group is expanded. | 
| parent | The parent to which the new view is attached to |