AttachmentsPickerViewModel
constructor(storageHelper: StorageHelperWrapper, channelState: StateFlow<ChannelState?>, savedStateHandle: SavedStateHandle = SavedStateHandle())
Parameters
storageHelper
Wrapper around storage utilities for loading media and files.
channelState
The state of the channel where attachments are being picked.
savedStateHandle
Handle for persisting state across process death. When provided by MessagesViewModelFactory, it survives activity destruction (e.g. "Don't keep activities" mode), ensuring the picker UI is restored when the activity recreates.