SelectableMutableList

constructor(elements: Collection<E> = emptyList(), selectedIndex: Int = -1)(source)

Parameters

elements

the initial collection of elements

selectedIndex

the index of the currently selected element, or -1 if no element is selected

Type Parameters

E

the type of elements in this list