public class ExpandableListPosition
extends java.lang.Object
obtainChildPosition(int, int) or
obtainGroupPosition(int).| Modifier and Type | Field and Description |
|---|---|
static int |
CHILD
This data type represents a child position
|
int |
childPos
The position of the child within its parent group
|
static int |
GROUP
This data type represents a group position
|
int |
groupPos
The position of either the group being referred to, or the parent
group of the child being referred to
|
int |
type
What type of position this ExpandableListPosition represents
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getPackedPosition() |
int |
hashCode() |
static ExpandableListPosition |
obtain(int type,
int groupPos,
int childPos,
int flatListPos) |
void |
recycle()
Do not call this unless you obtained this via ExpandableListPosition.obtain().
|
java.lang.String |
toString() |
public static final int CHILD
public static final int GROUP
public int groupPos
public int childPos
public int type
public long getPackedPosition()
public static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos)
public void recycle()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object