TripSummaryViewModel

class TripSummaryViewModel(appStore: AppStore, removeSelectedWaypoint: RemoveSelectedWaypointUseCase, observeRouteProgressUseCase: ObserveRouteProgressUseCase, observeTripSummaryModel: ObserveTripSummaryModelUseCase, overviewSearchResultWithCurrentRoute: OverviewSearchResultWithCurrentRoute, stopNavigation: StopNavigationUseCase, routeAnalyticsEventsSender: RouteAnalyticsEventsSender, chargeRouteHelper: ChargeRouteHelper) : ViewModel

Constructors

Link copied to clipboard
constructor(appStore: AppStore, removeSelectedWaypoint: RemoveSelectedWaypointUseCase, observeRouteProgressUseCase: ObserveRouteProgressUseCase, observeTripSummaryModel: ObserveTripSummaryModelUseCase, overviewSearchResultWithCurrentRoute: OverviewSearchResultWithCurrentRoute, stopNavigation: StopNavigationUseCase, routeAnalyticsEventsSender: RouteAnalyticsEventsSender, chargeRouteHelper: ChargeRouteHelper)

Types

Link copied to clipboard
data class EndActiveGuidanceViewState(val removeStopVisible: Boolean = false, val endActiveGuidanceVisible: Boolean = false, val settingsMenuVisible: Boolean = false, val largeViewVisible: Boolean = false, val tripSummaryVisible: Boolean = false, val oneClickEndRoute: Boolean = false, val highlightedElement: TripSummaryViewModel.HighlightedElement = HighlightedElement.None)
Link copied to clipboard
sealed class Message

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val visibility: Flow<Boolean>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onFocused()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard