PlacesListUiState

class PlacesListUiState(val title: DataState<String>, val items: DataState<List<DashSearchResult>>, val itemSelected: (Int) -> Unit, val backCloseButtonState: BackCloseButtonState?)

UI state for the places list.

Parameters

title

the title of the list.

items

the list of items.

itemSelected

the callback for the item selection.

backCloseButtonState

the state of the back/close button.

Constructors

Link copied to clipboard
constructor(title: DataState<String>, items: DataState<List<DashSearchResult>>, itemSelected: (Int) -> Unit, backCloseButtonState: BackCloseButtonState?)

Properties

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String