SearchViewModel

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addCloseable(closeable: AutoCloseable)
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
Link copied to clipboard

Clears the current search suggestions.

Link copied to clipboard
Link copied to clipboard

Fetches search suggestions with debouncing. Waits 300ms before making the API call to avoid too many requests.

Link copied to clipboard
Link copied to clipboard
protected open fun onCleared()
Link copied to clipboard
Link copied to clipboard
fun searchAndCancel(query: String, providersActive: Set<String> = setOf(), ignoreSettings: Boolean = false, isQuickSearch: Boolean = false)
Link copied to clipboard
fun updateHistory(): Job