PlacesPreviewViewModel

class PlacesPreviewViewModel(appStore: AppStore, searchAnalytics: SearchAnalytics, cancelPlacesPreview: CancelPlacesPreviewUseCase, observePlacesPreviewState: ObservePlacesStateUseCase, previousSearchStateUseCase: PreviousSearchStateUseCase, overviewSearchResultWithCurrentRoute: OverviewSearchResultWithCurrentRoute, onNewItemSelectedListener: OnNewItemSelectedListener, placesFocusHelper: PlacesPreviewFocusNavigationHelper, val mapMoving: ObserveMapMovingUseCase) : ViewModel, FocusNavigationHelper

Constructors

Link copied to clipboard
constructor(appStore: AppStore, searchAnalytics: SearchAnalytics, cancelPlacesPreview: CancelPlacesPreviewUseCase, observePlacesPreviewState: ObservePlacesStateUseCase, previousSearchStateUseCase: PreviousSearchStateUseCase, overviewSearchResultWithCurrentRoute: OverviewSearchResultWithCurrentRoute, onNewItemSelectedListener: OnNewItemSelectedListener, placesFocusHelper: PlacesPreviewFocusNavigationHelper, mapMoving: ObserveMapMovingUseCase)

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
Link copied to clipboard
val selectedPosition: Flow<Int?>

Functions

Link copied to clipboard
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
fun onItemSelected(position: Int)
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()