orientationVertical

fun Grid.Initializer.orientationVertical(isTopToBottom: Boolean = true)

Set the item step of a grid so that new items are always positioned in the next row (respecting isTopToBottom argument).

Parameters

isTopToBottom

True if new elements are added below, false to add them above the last added element.