TripOverviewUiState

UI state for the trip overview card.

Parameters

items

the list of items.

isOffline

indicates if the app is in offline-mode

isProgress

indicates if routes are still fetching

etaDistance

represents ETA and distance of the current trip

buttonState

represents state of the back/close button.

onEditTripClick

represents callback that opens edit trip card

onWaypointClick

represents callback that opens waypoint preview card

onAddChargerClick

represents callback that changes the current route with one which has injected EV station if such route exists

onNavigateClick

represents callback that switches to ActiveGuidance mode

onRoutesOverviewClick

represents callback that opens routes overview card

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

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