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?)