-
public final class ChannelAttachmentsViewModel extends ViewModel
ViewModel for managing channel attachments and their actions.
-
-
Method Summary
-
-
Constructor Detail
-
ChannelAttachmentsViewModel
ChannelAttachmentsViewModel(String cid, List<String> attachmentTypes, Function1<Attachment, Boolean> localFilter, Function1<ViewModel, ChannelAttachmentsViewController> controllerProvider)
- Parameters:
cid- The full channel identifier (e.g., "messaging:123").attachmentTypes- The list of attachment types (e.g., "image", "file").localFilter- A function to filter attachments locally after fetching.controllerProvider- The provider for ChannelAttachmentsViewController.
-
-
-
-