DestinationPreviewViewState
class DestinationPreviewViewState(val visible: State<Boolean> = mutableStateOf(false), val skipDestinationPreview: State<Boolean> = mutableStateOf(false), val destinationState: State<DestinationState> = mutableStateOf(DestinationState.WaitingData), val leftButtonState: State<ActionButtonState?> = mutableStateOf(value = null), val rightButtonState: State<ActionButtonState?> = mutableStateOf(value = null), val alreadyOnTheRoute: State<Boolean> = mutableStateOf(value = false), val focusedElement: State<FocusedElement?> = mutableStateOf(value = null), val titleSingleLine: State<Boolean> = mutableStateOf(value = false), 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, String) -> Unit = { _, _ -> }, val onClickFeedback: () -> Unit = {}, val onDestinationGroupClick: (String, NearbyDestinationsGroup) -> Unit = { _, _ -> }, val onRoutePreviewRetryClick: () -> Unit = {})
Constructors
Link copied to clipboard
constructor(visible: State<Boolean> = mutableStateOf(false), skipDestinationPreview: State<Boolean> = mutableStateOf(false), destinationState: State<DestinationState> = mutableStateOf(DestinationState.WaitingData), leftButtonState: State<ActionButtonState?> = mutableStateOf(value = null), rightButtonState: State<ActionButtonState?> = mutableStateOf(value = null), alreadyOnTheRoute: State<Boolean> = mutableStateOf(value = false), focusedElement: State<FocusedElement?> = mutableStateOf(value = null), titleSingleLine: State<Boolean> = mutableStateOf(value = false), collapseBottomSheetEvent: Flow<Unit> = emptyFlow(), destinationResult: State<DestinationResult?> = mutableStateOf(null), previewLayout: State<DestinationPreviewLayout?> = mutableStateOf(null), onClickLeftButton: () -> Unit = {}, onClickRightButton: () -> Unit = {}, onClickFavorite: (DestinationSearchResult, String) -> Unit = { _, _ -> }, onClickFeedback: () -> Unit = {}, onDestinationGroupClick: (String, NearbyDestinationsGroup) -> Unit = { _, _ -> }, onRoutePreviewRetryClick: () -> 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard