create
fun <R : SearchResult> create(state: SearchState<R, *>, actions: SearchActions<R, *, *>, loop: Boolean = true, jumpToPage: suspend (Int) -> Unit? = null): SearchResultSelectionController<R>
Creates a new SearchResultSelectionController for the given SearchState.
Parameters
state
: The search state
actions
: The search actions
loop
: Indicates whether the selection should loop over to the opposite end when moving the selected index out of bounds