public class EnrollmentExpandableListAdapter extends BaseExpandableListAdapter
Constructor and Description |
---|
EnrollmentExpandableListAdapter(Context context,
ArrayList<Model> groups,
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkItem(int groupPosition,
int childPosition)
The implementation of expandable list recycle the view.
|
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) |
ArrayList<Long> |
getChosenGroupCodes() |
String |
getChosenGroupCodesAsString() |
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) |
void |
resetChildren( |
areAllItemsEnabled, getChildType, getChildTypeCount, getCombinedChildId, getCombinedGroupId, getGroupType, getGroupTypeCount, isEmpty, notifyDataSetChanged, notifyDataSetInvalidated, onGroupCollapsed, onGroupExpanded, registerDataSetObserver, unregisterDataSetObserver
public Object getChild(int groupPosition, int childPosition)
public long getChildId(int groupPosition, int childPosition)
public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent)
public int getChildrenCount(int groupPosition)
public Object getGroup(int groupPosition)
public int getGroupCount()
public long getGroupId(int groupPosition)
public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent)
public boolean hasStableIds()
public boolean isChildSelectable(int groupPosition, int childPosition)
public boolean checkItem(int groupPosition, int childPosition)
public void resetChildren(children)
public String getChosenGroupCodesAsString()