InlineSearchActions

Imperative actions the inline search bar emits. Implemented by the fragment-flavor controller; the composable only calls these — it holds no search logic.

Functions

Link copied to clipboard
abstract fun close()

Close the search bar and clear results.

Link copied to clipboard
abstract fun selectIndex(index: Int)

Select a specific result by zero-based index (clamped to range).

Link copied to clipboard
abstract fun selectNext()

Select the next result (no-op at the end).

Link copied to clipboard
abstract fun selectPrevious()

Select the previous result (no-op at the start).

Link copied to clipboard
abstract fun setQuery(query: String)

Update the query; debounced search runs once it passes the configured start-search threshold.