android.widget
Class BaseExpandableListAdapter

java.lang.Object
  extended by android.widget.BaseExpandableListAdapter
All Implemented Interfaces:
ExpandableListAdapter
Direct Known Subclasses:
CursorTreeAdapter, SimpleExpandableListAdapter

public abstract class BaseExpandableListAdapter
extends java.lang.Object
implements ExpandableListAdapter


Constructor Summary
BaseExpandableListAdapter()
           
 
Method Summary
 boolean areAllItemsEnabled()
           
 long getCombinedChildId(long groupId, long childId)
           
 long getCombinedGroupId(long groupId)
           
 boolean isEmpty()
           
 void notifyDataSetChanged()
           
 void notifyDataSetInvalidated()
           
 void onGroupCollapsed(int groupPosition)
           
 void onGroupExpanded(int groupPosition)
           
 void registerDataSetObserver(DataSetObserver observer)
           
 void unregisterDataSetObserver(DataSetObserver observer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface android.widget.ExpandableListAdapter
getChild, getChildId, getChildrenCount, getChildView, getGroup, getGroupCount, getGroupId, getGroupView, hasStableIds, isChildSelectable
 

Constructor Detail

BaseExpandableListAdapter

public BaseExpandableListAdapter()
Method Detail

registerDataSetObserver

public void registerDataSetObserver(DataSetObserver observer)
Specified by:
registerDataSetObserver in interface ExpandableListAdapter

unregisterDataSetObserver

public void unregisterDataSetObserver(DataSetObserver observer)
Specified by:
unregisterDataSetObserver in interface ExpandableListAdapter

notifyDataSetInvalidated

public void notifyDataSetInvalidated()

notifyDataSetChanged

public void notifyDataSetChanged()

areAllItemsEnabled

public boolean areAllItemsEnabled()
Specified by:
areAllItemsEnabled in interface ExpandableListAdapter

onGroupCollapsed

public void onGroupCollapsed(int groupPosition)
Specified by:
onGroupCollapsed in interface ExpandableListAdapter

onGroupExpanded

public void onGroupExpanded(int groupPosition)
Specified by:
onGroupExpanded in interface ExpandableListAdapter

getCombinedChildId

public long getCombinedChildId(long groupId,
                               long childId)
Specified by:
getCombinedChildId in interface ExpandableListAdapter

getCombinedGroupId

public long getCombinedGroupId(long groupId)
Specified by:
getCombinedGroupId in interface ExpandableListAdapter

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface ExpandableListAdapter


Copyright © 2008-2010. All Rights Reserved.