ContactsViewModel
class ContactsViewModel(savedStateHandle: SavedStateHandle, nodeRepository: NodeRepository, packetRepository: PacketRepository, radioConfigRepository: RadioConfigRepository, connectionStateProvider: ConnectionStateProvider) : ViewModel(source)
Constructors
Link copied to clipboard
constructor(savedStateHandle: SavedStateHandle, nodeRepository: NodeRepository, packetRepository: PacketRepository, radioConfigRepository: RadioConfigRepository, connectionStateProvider: ConnectionStateProvider)
Properties
Link copied to clipboard
Collapsed conversation-list section keys (see ContactSection), persisted across process death.
Link copied to clipboard
Link copied to clipboard
Flat contact list (channels + DMs) with empty-channel placeholders merged in, consumed by both ContactsScreen and ShareScreen. ContactsScreen groups it into collapsible Channels/DirectMessages sections at render time.
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the total message count for a list of contact keys. This queries the repository directly, so it works even if a contact isn't currently loaded in the list.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard