Package 

Class ChannelAttachmentsViewModelFactory

    • Method Summary

      Modifier and Type Method Description
      <T extends ViewModel> T create(Class<T> modelClass)
      • Methods inherited from class io.getstream.chat.android.ui.viewmodel.channel.ChannelAttachmentsViewModelFactory

        create, create
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.