selectItem

open fun selectItem(position: <Error class: unknown class>, unselectRest: Boolean): Boolean

Requests to select an item in the model.

Return

true if this action was supported and no fallback should be tried. This does not mean the item was selected.

Parameters

position

the position of the item to select

unselectRest

whether previously selected items should be unselected