android.widget
Interface ExpandableListAdapter

All Known Implementing Classes:
BaseExpandableListAdapter, CursorTreeAdapter, ResourceCursorTreeAdapter, SimpleCursorTreeAdapter, SimpleExpandableListAdapter

public interface ExpandableListAdapter


Method Summary
 boolean areAllItemsEnabled()
           
 Object getChild(int groupPosition, int childPosition)
           
 long getChildId(int groupPosition, int childPosition)
           
 int getChildrenCount(int groupPosition)
           
 View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent)
           
 long getCombinedChildId(long groupId, long childId)
           
 long getCombinedGroupId(long groupId)
           
 Object getGroup(int groupPosition)
           
 int getGroupCount()
           
 long getGroupId(int groupPosition)
           
 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent)
           
 boolean hasStableIds()
           
 boolean isChildSelectable(int groupPosition, int childPosition)
           
 boolean isEmpty()
           
 void onGroupCollapsed(int groupPosition)
           
 void onGroupExpanded(int groupPosition)
           
 void registerDataSetObserver(DataSetObserver observer)
           
 void unregisterDataSetObserver(DataSetObserver observer)
           
 

Method Detail

registerDataSetObserver

void registerDataSetObserver(DataSetObserver observer)

unregisterDataSetObserver

void unregisterDataSetObserver(DataSetObserver observer)

getGroupCount

int getGroupCount()

getChildrenCount

int getChildrenCount(int groupPosition)

getGroup

Object getGroup(int groupPosition)

getChild

Object getChild(int groupPosition,
                int childPosition)

getGroupId

long getGroupId(int groupPosition)

getChildId

long getChildId(int groupPosition,
                int childPosition)

hasStableIds

boolean hasStableIds()

getGroupView

View getGroupView(int groupPosition,
                  boolean isExpanded,
                  View convertView,
                  ViewGroup parent)

getChildView

View getChildView(int groupPosition,
                  int childPosition,
                  boolean isLastChild,
                  View convertView,
                  ViewGroup parent)

isChildSelectable

boolean isChildSelectable(int groupPosition,
                          int childPosition)

areAllItemsEnabled

boolean areAllItemsEnabled()

isEmpty

boolean isEmpty()

onGroupExpanded

void onGroupExpanded(int groupPosition)

onGroupCollapsed

void onGroupCollapsed(int groupPosition)

getCombinedChildId

long getCombinedChildId(long groupId,
                        long childId)

getCombinedGroupId

long getCombinedGroupId(long groupId)


Copyright © 2008-2012. All Rights Reserved.