clearSearch

abstract fun clearSearch()

Clears the current search state.

Resets the search state to its initial values:

  • Empty query

  • Empty results

  • isLoading = false

  • error = null

Typically called when the search screen is closed.