ExpandableListPosition

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. Referring to a child's position requires both a group position (the group containing the child) and a child position (the child's position within that group). To create objects, use obtainChildPosition or obtainGroupPosition.

Properties

Link copied to clipboard
val CHILD: Int = 1
This data type represents a child position
Link copied to clipboard
open var childPos: Int
The position of the child within its parent group
Link copied to clipboard
val GROUP: Int = 2
This data type represents a group position
Link copied to clipboard
open var groupPos: Int
The position of either the group being referred to, or the parent group of the child being referred to
Link copied to clipboard
open var type: Int
What type of position this ExpandableListPosition represents

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun obtain(type: Int, groupPos: Int, childPos: Int, flatListPos: Int): ExpandableListPosition
Link copied to clipboard
open fun recycle()
Do not call this unless you obtained this via ExpandableListPosition.obtain().
Link copied to clipboard
open fun toString(): String