public class XUISimpleExpandableListAdapter
extends android.widget.BaseExpandableListAdapter
| Constructor and Description |
|---|
XUISimpleExpandableListAdapter(ExpandableItem... data) |
XUISimpleExpandableListAdapter(java.util.List<ExpandableItem> data) |
| Modifier and Type | Method and Description |
|---|---|
AdapterItem |
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) |
ExpandableItem |
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) |
XUISimpleExpandableListAdapter |
setArrowStyle(int arrowDownResId,
int arrowUpResId)
设置箭头样式
|
XUISimpleExpandableListAdapter |
setPaddingLeftDp(android.content.Context context,
int paddingLeftDp)
Deprecated.
|
XUISimpleExpandableListAdapter |
setPaddingLeftPx(int paddingLeftPx)
Deprecated.
|
XUISimpleExpandableListAdapter |
setPaddingStartDp(android.content.Context context,
int paddingStartDp) |
XUISimpleExpandableListAdapter |
setPaddingStartPx(int paddingStartPx) |
areAllItemsEnabled, getChildType, getChildTypeCount, getCombinedChildId, getCombinedGroupId, getGroupType, getGroupTypeCount, isEmpty, notifyDataSetChanged, notifyDataSetInvalidated, onGroupCollapsed, onGroupExpanded, registerDataSetObserver, unregisterDataSetObserverpublic XUISimpleExpandableListAdapter(java.util.List<ExpandableItem> data)
public XUISimpleExpandableListAdapter(ExpandableItem... data)
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 int getGroupCount()
public int getChildrenCount(int groupPosition)
public ExpandableItem getGroup(int groupPosition)
public AdapterItem getChild(int groupPosition, int childPosition)
public long getGroupId(int groupPosition)
public long getChildId(int groupPosition,
int childPosition)
public boolean hasStableIds()
public boolean isChildSelectable(int groupPosition,
int childPosition)
@Deprecated public XUISimpleExpandableListAdapter setPaddingLeftPx(int paddingLeftPx)
@Deprecated public XUISimpleExpandableListAdapter setPaddingLeftDp(android.content.Context context, int paddingLeftDp)
public XUISimpleExpandableListAdapter setPaddingStartPx(int paddingStartPx)
public XUISimpleExpandableListAdapter setPaddingStartDp(android.content.Context context, int paddingStartDp)
public XUISimpleExpandableListAdapter setArrowStyle(int arrowDownResId, int arrowUpResId)
arrowDownResId -