SearchState

enum SearchState : Enum<TtSearchView.SearchState>

The state of the search view. The search view has difference appearance for each state, e.g. the visibility of the clear icon.

Entries

Link copied to clipboard

Both the clear icon and the loading indicator are hidden.

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