Skip navigation links
C D E G H I M O R S T W 

C

CHILD - Static variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
This data type represents a child position
childPos - Variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
The position of the child within its parent group
ChildViewHolder - Class in com.thoughtbot.expandablerecyclerview.viewholders
ViewHolder for ExpandableGroup.items
ChildViewHolder(View) - Constructor for class com.thoughtbot.expandablerecyclerview.viewholders.ChildViewHolder
 
collapse() - Method in class com.thoughtbot.expandablerecyclerview.viewholders.GroupViewHolder
 
com.thoughtbot.expandablerecyclerview - package com.thoughtbot.expandablerecyclerview
 
com.thoughtbot.expandablerecyclerview.listeners - package com.thoughtbot.expandablerecyclerview.listeners
 
com.thoughtbot.expandablerecyclerview.models - package com.thoughtbot.expandablerecyclerview.models
 
com.thoughtbot.expandablerecyclerview.viewholders - package com.thoughtbot.expandablerecyclerview.viewholders
 
CREATOR - Static variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 

D

describeContents() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 

E

equals(Object) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
 
expand() - Method in class com.thoughtbot.expandablerecyclerview.viewholders.GroupViewHolder
 
ExpandableGroup<T extends android.os.Parcelable> - Class in com.thoughtbot.expandablerecyclerview.models
The backing data object for an ExpandableGroup
ExpandableGroup(String, List<T>) - Constructor for class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
ExpandableGroup(Parcel) - Constructor for class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
expandableList - Variable in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
ExpandableList - Class in com.thoughtbot.expandablerecyclerview.models
 
ExpandableList(List<? extends ExpandableGroup>) - Constructor for class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
ExpandableListPosition - Class in com.thoughtbot.expandablerecyclerview.models
Exact copy of android.widget.ExpandableListPosition because android.widget.ExpandableListPosition has package local scope ExpandableListPosition can refer to either a group's position or a child's position.
ExpandableRecyclerViewAdapter<GVH extends GroupViewHolder,CVH extends ChildViewHolder> - Class in com.thoughtbot.expandablerecyclerview
 
ExpandableRecyclerViewAdapter(List<? extends ExpandableGroup>) - Constructor for class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
ExpandCollapseController - Class in com.thoughtbot.expandablerecyclerview
This class is the sits between the backing ExpandableList and the ExpandableRecyclerViewAdapter and mediates the expanding and collapsing of ExpandableGroup
ExpandCollapseController(ExpandableList, ExpandCollapseListener) - Constructor for class com.thoughtbot.expandablerecyclerview.ExpandCollapseController
 
ExpandCollapseListener - Interface in com.thoughtbot.expandablerecyclerview.listeners
 
expandedGroupIndexes - Variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 

G

getChildViewType(int, ExpandableGroup, int) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
Used to allow subclasses to have multiple view types for children
getExpandableGroup(ExpandableListPosition) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
Translates either a group pos or a child pos to an ExpandableGroup.
getExpandableGroupItemCount(ExpandableListPosition) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
getFlattenedChildIndex(long) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
Converts a child position to a flat list position.
getFlattenedChildIndex(ExpandableListPosition) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
Converts a child position to a flat list position.
getFlattenedChildIndex(int, int) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
Converts the details of a child's position to a flat list position.
getFlattenedFirstChildIndex(int) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
getFlattenedFirstChildIndex(ExpandableListPosition) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
getFlattenedGroupIndex(ExpandableListPosition) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
getFlattenedGroupIndex(int) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
getFlattenedGroupIndex(ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
getGroups() - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
The full list of ExpandableGroup backing this RecyclerView
getGroupViewType(int, ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
Used to allow subclasses to have multiple view types for groups
getItemCount() - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
getItemCount() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
getItems() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
getItemViewType(int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Gets the view type of the item at the given position.
getItemViewType(int) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
Gets the view type of the item at the given position.
getPackedPosition() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
 
getTitle() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
getUnflattenedPosition(int) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
Translates a flat list position (the raw position of an item (child or group) in the list) to either a) group pos if the specified flat list position corresponds to a group, or b) child pos if it corresponds to a child.
getVisibleItemCount() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
GROUP - Static variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
This data type represents a group position
GroupExpandCollapseListener - Interface in com.thoughtbot.expandablerecyclerview.listeners
 
groupPos - Variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
The position of either the group being referred to, or the parent group of the child being referred to
groups - Variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableList
 
GroupViewHolder - Class in com.thoughtbot.expandablerecyclerview.viewholders
ViewHolder for the ExpandableGroup.title in a ExpandableGroup The current implementation does now allow for sub View of the parent view to trigger a collapse / expand.
GroupViewHolder(View) - Constructor for class com.thoughtbot.expandablerecyclerview.viewholders.GroupViewHolder
 

H

hashCode() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
 

I

isChild(int) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
 
isGroup(int) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
 
isGroupExpanded(int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
isGroupExpanded(ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
isGroupExpanded(ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.ExpandCollapseController
 
isGroupExpanded(int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandCollapseController
 

M

MultiTypeExpandableRecyclerViewAdapter<GVH extends GroupViewHolder,CVH extends ChildViewHolder> - Class in com.thoughtbot.expandablerecyclerview
 
MultiTypeExpandableRecyclerViewAdapter(List<? extends ExpandableGroup>) - Constructor for class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
 

O

obtain(int, int, int, int) - Static method in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
 
onBindChildViewHolder(CVH, int, ExpandableGroup, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Called from onBindViewHolder(RecyclerView.ViewHolder, int) when the list item bound to is a child.
onBindGroupViewHolder(GVH, int, ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Called from onBindViewHolder(RecyclerView.ViewHolder, int) when the list item bound to is a group
onBindViewHolder(ViewHolder, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Implementation of Adapter.onBindViewHolder(RecyclerView.ViewHolder, int) that determines if the list item is a group or a child and calls through to the appropriate implementation of either ExpandableRecyclerViewAdapter.onBindGroupViewHolder(GroupViewHolder, int, ExpandableGroup) or ExpandableRecyclerViewAdapter.onBindChildViewHolder(ChildViewHolder, int, ExpandableGroup, int).
onBindViewHolder(ViewHolder, int) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
Implementation of Adapter.onBindViewHolder(RecyclerView.ViewHolder, int) that determines if the list item is a group or a child and calls through to the appropriate implementation of either ExpandableRecyclerViewAdapter.onBindGroupViewHolder(GroupViewHolder, int, ExpandableGroup) or ExpandableRecyclerViewAdapter.onBindChildViewHolder(ChildViewHolder, int, ExpandableGroup, int).
onClick(View) - Method in class com.thoughtbot.expandablerecyclerview.viewholders.GroupViewHolder
 
onCreateChildViewHolder(ViewGroup, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Called from ExpandableRecyclerViewAdapter.onCreateViewHolder(ViewGroup, int) when the list item created is a child
onCreateGroupViewHolder(ViewGroup, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Called from ExpandableRecyclerViewAdapter.onCreateViewHolder(ViewGroup, int) when the list item created is a group
onCreateViewHolder(ViewGroup, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Implementation of Adapter.onCreateViewHolder(ViewGroup, int) that determines if the list item is a group or a child and calls through to the appropriate implementation of either ExpandableRecyclerViewAdapter.onCreateGroupViewHolder(ViewGroup, int) or ExpandableRecyclerViewAdapter.onCreateChildViewHolder(ViewGroup, int)}.
onCreateViewHolder(ViewGroup, int) - Method in class com.thoughtbot.expandablerecyclerview.MultiTypeExpandableRecyclerViewAdapter
Implementation of RecyclerView.Adapter.onCreateViewHolder(ViewGroup, int) that determines if the list item is a group or a child and calls through to the appropriate implementation of either ExpandableRecyclerViewAdapter.onCreateGroupViewHolder(ViewGroup, int) or ExpandableRecyclerViewAdapter.onCreateChildViewHolder(ViewGroup, int)}.
onGroupClick(int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Triggered by a click on a GroupViewHolder
onGroupClick(int) - Method in interface com.thoughtbot.expandablerecyclerview.listeners.OnGroupClickListener
 
OnGroupClickListener - Interface in com.thoughtbot.expandablerecyclerview.listeners
 
onGroupCollapsed(int, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Called when a group is collapsed
onGroupCollapsed(int, int) - Method in interface com.thoughtbot.expandablerecyclerview.listeners.ExpandCollapseListener
Called when a group is collapsed
onGroupCollapsed(ExpandableGroup) - Method in interface com.thoughtbot.expandablerecyclerview.listeners.GroupExpandCollapseListener
Called when a group is collapsed
onGroupExpanded(int, int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Called when a group is expanded
onGroupExpanded(int, int) - Method in interface com.thoughtbot.expandablerecyclerview.listeners.ExpandCollapseListener
Called when a group is expanded
onGroupExpanded(ExpandableGroup) - Method in interface com.thoughtbot.expandablerecyclerview.listeners.GroupExpandCollapseListener
Called when a group is expanded
onRestoreInstanceState(Bundle) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Fetches the expandable state map from the saved instance state Bundle and restores the expanded states of all of the list items.
onSaveInstanceState(Bundle) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
Stores the expanded state map across state loss.

R

recycle() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
Do not call this unless you obtained this via ExpandableListPosition.obtain().

S

setOnGroupClickListener(OnGroupClickListener) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
setOnGroupClickListener(OnGroupClickListener) - Method in class com.thoughtbot.expandablerecyclerview.viewholders.GroupViewHolder
 
setOnGroupExpandCollapseListener(GroupExpandCollapseListener) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 

T

toggleGroup(int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
toggleGroup(ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.ExpandableRecyclerViewAdapter
 
toggleGroup(int) - Method in class com.thoughtbot.expandablerecyclerview.ExpandCollapseController
 
toggleGroup(ExpandableGroup) - Method in class com.thoughtbot.expandablerecyclerview.ExpandCollapseController
 
toString() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
toString() - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
 
type - Variable in class com.thoughtbot.expandablerecyclerview.models.ExpandableListPosition
What type of position this ExpandableListPosition represents

W

writeToParcel(Parcel, int) - Method in class com.thoughtbot.expandablerecyclerview.models.ExpandableGroup
 
C D E G H I M O R S T W 
Skip navigation links