android.widget
Class SimpleCursorTreeAdapter
java.lang.Object
android.widget.BaseExpandableListAdapter
android.widget.CursorTreeAdapter
android.widget.ResourceCursorTreeAdapter
android.widget.SimpleCursorTreeAdapter
- All Implemented Interfaces:
- ExpandableListAdapter, Filterable, HeterogeneousExpandableList
public abstract class SimpleCursorTreeAdapter
- extends ResourceCursorTreeAdapter
Constructor Summary |
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int groupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
|
Methods inherited from class android.widget.CursorTreeAdapter |
changeCursor, convertToString, getChild, getChildId, getChildrenCount, getChildrenCursor, getChildView, getCursor, getFilter, getFilterQueryProvider, getGroup, getGroupCount, getGroupId, getGroupView, hasStableIds, isChildSelectable, notifyDataSetChanged, notifyDataSetChanged, notifyDataSetInvalidated, onGroupCollapsed, runQueryOnBackgroundThread, setChildrenCursor, setFilterQueryProvider, setGroupCursor |
Methods inherited from class android.widget.BaseExpandableListAdapter |
areAllItemsEnabled, getChildType, getChildTypeCount, getCombinedChildId, getCombinedGroupId, getGroupType, getGroupTypeCount, isEmpty, onGroupExpanded, registerDataSetObserver, unregisterDataSetObserver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCursorTreeAdapter
public SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
SimpleCursorTreeAdapter
public SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
SimpleCursorTreeAdapter
public SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int groupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
getViewBinder
public SimpleCursorTreeAdapter.ViewBinder getViewBinder()
setViewBinder
public void setViewBinder(SimpleCursorTreeAdapter.ViewBinder viewBinder)
bindChildView
protected void bindChildView(View view,
Context context,
Cursor cursor,
boolean isLastChild)
- Specified by:
bindChildView
in class CursorTreeAdapter
bindGroupView
protected void bindGroupView(View view,
Context context,
Cursor cursor,
boolean isExpanded)
- Specified by:
bindGroupView
in class CursorTreeAdapter
setViewImage
protected void setViewImage(ImageView v,
String value)
setViewText
public void setViewText(TextView v,
String text)
Copyright © 2008-2012. All Rights Reserved.