-
- All Implemented Interfaces:
-
androidx.lifecycle.ViewModelProvider.Factory
public final class ChannelAttachmentsViewModelFactory implements ViewModelProvider.Factory
Factory for creating instances of ChannelAttachmentsViewModel.
-
-
Constructor Summary
Constructors Constructor Description ChannelAttachmentsViewModelFactory(String cid, List<String> attachmentTypes, Function1<Attachment, Boolean> localFilter)
-
Method Summary
-
-
Constructor Detail
-
ChannelAttachmentsViewModelFactory
ChannelAttachmentsViewModelFactory(String cid, List<String> attachmentTypes, Function1<Attachment, Boolean> localFilter)
- 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.
-
-
-
-