SettingsSearchViewModel

Backs the search field on the Settings screen.

The catalog's text is resolved once, not per keystroke: reading a string resource suspends, and there are several hundred of them. Matching then runs over the resolved copy.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val query: StateFlow<String>
Link copied to clipboard

Functions

Link copied to clipboard
expect open fun addCloseable(closeable: AutoCloseable)
expect fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
expect fun <T : AutoCloseable> getCloseable(key: String): T?
Link copied to clipboard
Link copied to clipboard
fun setQuery(query: String)