EditTripUiState

UI state for the edit trip card.

Parameters

items

the list of items.

isFetching

indicates if routes are being fetched.

onOpenFullScreenSearchClick

the callback for opening the full screen search.

onRemoveWaypoints

the callback for removing waypoints from the list.

onDoneClick

the callback for the done button click.

onItemSwap

the callback for swapping items.

onAddChargersClick

the callback for adding charging stations.

onRemoveChargersClick

the callback for removing charging stations.

backCloseButtonState

the state of the back/close button.

onRoutesOverviewClick

the callback to open the routes overview.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onDoneClick: () -> Unit
Link copied to clipboard
val onItemSwap: (from: Int, to: Int) -> Unit
Link copied to clipboard
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