setSelection

open override fun setSelection(selection: Long?)

Sets the current selection to selection.

Throws

If selection creates an invalid state.