SearchState

enum SearchState : Enum<TtSearchView.SearchState>

The state of the search view. The view's visual components have a different appearance for each state.

Entries

Link copied to clipboard

Both the clear icon and the loading indicator are hidden.

Link copied to clipboard

The search view is locked and showing the reason why, and cannot be interacted with.

Link copied to clipboard

The user pressed the search key and a list of results is shown below the search view.

Link copied to clipboard

A list of suggestions is shown below the search view.

Link copied to clipboard

The loading indicator and the clear icon are shown.

Link copied to clipboard

The search view is focused and the user can type a search query.

Inherited properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int