DestinationPreviewUiState
class DestinationPreviewUiState(val place: DataState<DestinationPreviewUiState.PlaceDetails>, val primaryButton: DestinationPreviewUiState.ActionButton.Primary? = null, val secondaryButton: DestinationPreviewUiState.ActionButton.Secondary? = null, val backCloseButtonState: BackCloseButtonState? = null)
Represents the state of the destination preview card.
Parameters
place
The place details to be displayed.
primaryButton
The primary button to be displayed.
secondaryButton
The secondary button to be displayed.
backCloseButtonState
The back/close button state to be displayed.
Constructors
Link copied to clipboard
constructor(place: DataState<DestinationPreviewUiState.PlaceDetails>, primaryButton: DestinationPreviewUiState.ActionButton.Primary? = null, secondaryButton: DestinationPreviewUiState.ActionButton.Secondary? = null, backCloseButtonState: BackCloseButtonState? = null)