public class HashMapListAdapter<T>
extends android.widget.BaseExpandableListAdapter
| Constructor and Description |
|---|
HashMapListAdapter(java.util.LinkedHashMap<java.lang.String,java.util.List<T>> items,
int expandableItemLayout,
int choiceItemLayout) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getChild(int groupPosition,
int childPosition) |
long |
getChildId(int groupPosition,
int childPosition) |
int |
getChildrenCount(int groupPosition) |
android.view.View |
getChildView(int groupPosition,
int childPosition,
boolean isLastChild,
android.view.View convertView,
android.view.ViewGroup parent) |
int |
getChoiceItemLayout() |
int |
getExpandableItemLayout() |
java.lang.Object |
getGroup(int groupPosition) |
int |
getGroupCount() |
long |
getGroupId(int groupPosition) |
android.view.View |
getGroupView(int groupPosition,
boolean isExpanded,
android.view.View convertView,
android.view.ViewGroup parent) |
boolean |
hasStableIds() |
boolean |
isChildSelectable(int groupPosition,
int childPosition) |
HashMapListAdapter |
setChoiceItemLayout(int choiceItemLayout) |
HashMapListAdapter |
setExpandableItemLayout(int expandableItemLayout) |
areAllItemsEnabled, getChildType, getChildTypeCount, getCombinedChildId, getCombinedGroupId, getGroupType, getGroupTypeCount, isEmpty, notifyDataSetChanged, notifyDataSetInvalidated, onGroupCollapsed, onGroupExpanded, registerDataSetObserver, unregisterDataSetObserverpublic HashMapListAdapter(java.util.LinkedHashMap<java.lang.String,java.util.List<T>> items, int expandableItemLayout, int choiceItemLayout)
public int getExpandableItemLayout()
public HashMapListAdapter setExpandableItemLayout(int expandableItemLayout)
public int getChoiceItemLayout()
public HashMapListAdapter setChoiceItemLayout(int choiceItemLayout)
public int getGroupCount()
public int getChildrenCount(int groupPosition)
public java.lang.Object getGroup(int groupPosition)
public java.lang.Object getChild(int groupPosition,
int childPosition)
public long getGroupId(int groupPosition)
public long getChildId(int groupPosition,
int childPosition)
public boolean hasStableIds()
public android.view.View getGroupView(int groupPosition,
boolean isExpanded,
android.view.View convertView,
android.view.ViewGroup parent)
public android.view.View getChildView(int groupPosition,
int childPosition,
boolean isLastChild,
android.view.View convertView,
android.view.ViewGroup parent)
public boolean isChildSelectable(int groupPosition,
int childPosition)