onGetChildDrawingOrder

abstract fun onGetChildDrawingOrder(childCount: Int, i: Int): Int(source)

Returns the index of the child to draw for this iteration. Override this if you want to change the drawing order of children. By default, it returns i.

Return

The index of the child to draw this iteration.

Parameters

childCount

The total number of children.

i

The current iteration.

See also