SearchButtonsViewModel

class SearchButtonsViewModel(appStore: AppStore, isElectricVehicle: IsElectricVehicle, observeLowSocAlarmVisibilityUseCase: ObserveLowSocAlarmVisibilityUseCase, configRepository: ConfigRepository) : ViewModel, FocusNavigationHelper

Constructors

Link copied to clipboard
constructor(appStore: AppStore, isElectricVehicle: IsElectricVehicle, observeLowSocAlarmVisibilityUseCase: ObserveLowSocAlarmVisibilityUseCase, configRepository: ConfigRepository)

Properties

Link copied to clipboard
val action: SharedFlow<Int>
Link copied to clipboard
Link copied to clipboard
val focusedButtonIndex: StateFlow<Int?>
Link copied to clipboard
val isElectricVehicle: StateFlow<Boolean>
Link copied to clipboard
Link copied to clipboard
val visible: StateFlow<Boolean>

Functions

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 override fun onNudgeLeft()
Link copied to clipboard
open override fun onNudgeRight()
Link copied to clipboard
open override fun onRotaryKnobPressed()
Link copied to clipboard
open fun onRotateBackward()
Link copied to clipboard
open fun onRotateForward()