DestinationPreviewViewState

class DestinationPreviewViewState(val visible: State<Boolean> = mutableStateOf(false), val destinationState: State<DestinationState> = mutableStateOf(DestinationState.WaitingData), val leftButtonState: State<ActionButtonState?> = mutableStateOf(null), val rightButtonState: State<ActionButtonState?> = mutableStateOf(null), val alreadyOnTheRoute: State<Boolean> = mutableStateOf(false), val focusedElement: State<FocusedElement?> = mutableStateOf(null), val collapseBottomSheetEvent: Flow<Unit> = emptyFlow(), val destinationResult: State<DestinationResult?> = mutableStateOf(null), val previewLayout: State<DestinationPreviewLayout?> = mutableStateOf(null), val onClickLeftButton: () -> Unit = {}, val onClickRightButton: () -> Unit = {}, val onClickFavorite: (DestinationSearchResult, PlaceFavoriteStatus) -> Unit = { _, _ -> }, val onClickFeedback: () -> Unit = {})

Constructors

Link copied to clipboard
constructor(visible: State<Boolean> = mutableStateOf(false), destinationState: State<DestinationState> = mutableStateOf(DestinationState.WaitingData), leftButtonState: State<ActionButtonState?> = mutableStateOf(null), rightButtonState: State<ActionButtonState?> = mutableStateOf(null), alreadyOnTheRoute: State<Boolean> = mutableStateOf(false), focusedElement: State<FocusedElement?> = mutableStateOf(null), collapseBottomSheetEvent: Flow<Unit> = emptyFlow(), destinationResult: State<DestinationResult?> = mutableStateOf(null), previewLayout: State<DestinationPreviewLayout?> = mutableStateOf(null), onClickLeftButton: () -> Unit = {}, onClickRightButton: () -> Unit = {}, onClickFavorite: (DestinationSearchResult, PlaceFavoriteStatus) -> Unit = { _, _ -> }, onClickFeedback: () -> Unit = {})

Properties

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