public class NotificationsExpandableListAdapter extends BaseExpandableListAdapter
Constructor and Description |
---|
NotificationsExpandableListAdapter(Activity act,
ArrayList<String> grList,
ArrayList<List<Model>> childItem2) |
NotificationsExpandableListAdapter(ArrayList<String> grList,
ArrayList<List<Model>> childItem2) |
Modifier and Type | Method and Description |
---|---|
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) |
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 |
onGroupCollapsed(int groupPosition) |
void |
onGroupExpanded(int groupPosition) |
void |
setActivity(Activity act) |
void |
setInflater(LayoutInflater mInflater,
Activity act) |
areAllItemsEnabled, getChildType, getChildTypeCount, getCombinedChildId, getCombinedGroupId, getGroupType, getGroupTypeCount, isEmpty, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
public NotificationsExpandableListAdapter(ArrayList<String> grList, ArrayList<List<Model>> childItem2)
public void setInflater(LayoutInflater mInflater, Activity act)
public void setActivity(Activity act)
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 void onGroupCollapsed(int groupPosition)
onGroupCollapsed
in interface ExpandableListAdapter
onGroupCollapsed
in class BaseExpandableListAdapter
public void onGroupExpanded(int groupPosition)
onGroupExpanded
in interface ExpandableListAdapter
onGroupExpanded
in class BaseExpandableListAdapter
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)