TripSummaryViewModel
class TripSummaryViewModel(appStore: AppStore, removeSelectedWaypoint: RemoveSelectedWaypointUseCase, observeRouteProgressUseCase: ObserveRouteProgressUseCase, observeTripSummaryModel: ObserveTripSummaryModelUseCase, overviewSearchResultWithCurrentRoute: OverviewSearchResultWithCurrentRoute, stopNavigation: StopNavigationUseCase, routeAnalyticsEventsSender: RouteAnalyticsEventsSender, chargeRouteHelper: ChargeRouteHelper, mapGptManager: InternalMapGptManager) : ViewModel
Constructors
Link copied to clipboard
constructor(appStore: AppStore, removeSelectedWaypoint: RemoveSelectedWaypointUseCase, observeRouteProgressUseCase: ObserveRouteProgressUseCase, observeTripSummaryModel: ObserveTripSummaryModelUseCase, overviewSearchResultWithCurrentRoute: OverviewSearchResultWithCurrentRoute, stopNavigation: StopNavigationUseCase, routeAnalyticsEventsSender: RouteAnalyticsEventsSender, chargeRouteHelper: ChargeRouteHelper, mapGptManager: InternalMapGptManager)
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