TripSummaryViewModel

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

Constructors

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

Properties

Link copied to clipboard
val toastMessages: SharedFlow<Int>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val visibility: StateFlow<Boolean>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onFocused()
Link copied to clipboard
open override fun onFocusLost()
Link copied to clipboard
open fun onNudgeLeft()
Link copied to clipboard
open fun onNudgeRight()
Link copied to clipboard
open override fun onRotaryKnobPressed()
Link copied to clipboard
open override fun onRotateBackward()
Link copied to clipboard
open override fun onRotateForward()
Link copied to clipboard