xIndex property

int xIndex
final

The index of the child in the horizontal axis, relative to neighboring children.

While children's offset and positioning may not be strictly defined in terms of rows and columns, like a table, ChildVicinity.xIndex and ChildVicinity.yIndex represents order of traversal in row or column major format.

Implementation

final int xIndex;