DynamicList

constructor(model: M, itemVisualizer: ItemVisualizer<T, IndexedItem>? = null, selectionModel: SelectionModel<Int>? = null, fitContent: Set<Dimension> = setOf(Width, Height), scrollCache: Int = 0)(source)

Parameters

model

that holds the data for this List

itemVisualizer

that maps T to View for each item in the List

selectionModel

that manages the List's selection state

fitContent

determines whether the List scales to fit it's rows width and total height

scrollCache

determining how many "hidden" rows are rendered above and below the List's view-port. A value of 0 means only visible rows are rendered, but quick scrolling is more likely to show blank areas.