content

fun content(slots: List<Int>, display: SlotCreator.(T) -> Unit)

DSL for defining how to display each item in the list.

Parameters

slots

The slots to use for displaying items.

display

The builder block for each item.


fun content(range: IntRange, display: SlotCreator.(T) -> Unit)

DSL for defining how to display each item in the list using a range of slots.

Parameters

range

The range of slots to use.

display

The builder block for each item.