android.widget
Class BaseExpandableListAdapter
java.lang.Object
android.widget.BaseExpandableListAdapter
- All Implemented Interfaces:
- ExpandableListAdapter, HeterogeneousExpandableList
- Direct Known Subclasses:
- CursorTreeAdapter, SimpleExpandableListAdapter
public abstract class BaseExpandableListAdapter
- extends Object
- implements ExpandableListAdapter, HeterogeneousExpandableList
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseExpandableListAdapter
public BaseExpandableListAdapter()
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
getChildType
public int getChildType(int groupPosition,
int childPosition)
- Specified by:
getChildType in interface HeterogeneousExpandableList
getChildTypeCount
public int getChildTypeCount()
- Specified by:
getChildTypeCount in interface HeterogeneousExpandableList
getGroupType
public int getGroupType(int groupPosition)
- Specified by:
getGroupType in interface HeterogeneousExpandableList
getGroupTypeCount
public int getGroupTypeCount()
- Specified by:
getGroupTypeCount in interface HeterogeneousExpandableList
Copyright © 2008-2012. All Rights Reserved.