android.widget
Class ResourceCursorTreeAdapter

java.lang.Object
  extended by android.widget.BaseExpandableListAdapter
      extended by android.widget.CursorTreeAdapter
          extended by android.widget.ResourceCursorTreeAdapter
All Implemented Interfaces:
ExpandableListAdapter, Filterable, HeterogeneousExpandableList
Direct Known Subclasses:
SimpleCursorTreeAdapter

public abstract class ResourceCursorTreeAdapter
extends CursorTreeAdapter


Constructor Summary
ResourceCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, int childLayout)
           
ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, int expandedGroupLayout, int childLayout)
           
ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, int expandedGroupLayout, int childLayout, int lastChildLayout)
           
 
Method Summary
 View newChildView(Context context, Cursor cursor, boolean isLastChild, ViewGroup parent)
           
 View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent)
           
 
Methods inherited from class android.widget.CursorTreeAdapter
bindChildView, bindGroupView, 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
 

Constructor Detail

ResourceCursorTreeAdapter

public ResourceCursorTreeAdapter(Context context,
                                 Cursor cursor,
                                 int collapsedGroupLayout,
                                 int expandedGroupLayout,
                                 int childLayout,
                                 int lastChildLayout)

ResourceCursorTreeAdapter

public ResourceCursorTreeAdapter(Context context,
                                 Cursor cursor,
                                 int collapsedGroupLayout,
                                 int expandedGroupLayout,
                                 int childLayout)

ResourceCursorTreeAdapter

public ResourceCursorTreeAdapter(Context context,
                                 Cursor cursor,
                                 int groupLayout,
                                 int childLayout)
Method Detail

newChildView

public View newChildView(Context context,
                         Cursor cursor,
                         boolean isLastChild,
                         ViewGroup parent)
Specified by:
newChildView in class CursorTreeAdapter

newGroupView

public View newGroupView(Context context,
                         Cursor cursor,
                         boolean isExpanded,
                         ViewGroup parent)
Specified by:
newGroupView in class CursorTreeAdapter


Copyright © 2008-2012. All Rights Reserved.