Package-level declarations

Types

Link copied to clipboard
abstract class BaseUIViewModel(nodeDB: ERROR CLASS: Symbol not found for NodeRepository, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, radioController: ERROR CLASS: Symbol not found for RadioController, radioInterfaceService: ERROR CLASS: Symbol not found for RadioInterfaceService, meshLogRepository: ERROR CLASS: Symbol not found for MeshLogRepository, firmwareReleaseRepository: ERROR CLASS: Symbol not found for FirmwareReleaseRepository, uiPreferencesDataSource: ERROR CLASS: Symbol not found for UiPreferencesDataSource, meshServiceNotifications: ERROR CLASS: Symbol not found for MeshServiceNotifications, packetRepository: ERROR CLASS: Symbol not found for PacketRepository, alertManager: AlertManager) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel

Shared base for the application-level ViewModel.

Link copied to clipboard
class ConnectionsViewModel(radioConfigRepository: ERROR CLASS: Symbol not found for RadioConfigRepository, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, uiPrefs: ERROR CLASS: Symbol not found for UiPrefs) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel

Functions

Link copied to clipboard
context(viewModel: ERROR CLASS: Symbol not found for ViewModel)
fun <T> ERROR CLASS: Symbol not found for Flow<T>.stateInWhileSubscribed(initialValue: T, stopTimeout: ERROR CLASS: Symbol not found for Duration = 5.seconds): ERROR CLASS: Symbol not found for StateFlow<T>

Extension for converting a Flow to a StateFlow in a ViewModel context.