Package 

Class MediaGalleryPreviewViewModelFactory

    • Method Summary

      Modifier and Type Method Description
      <T extends ViewModel> T create(Class<T> modelClass) Creates a new instance of MediaGalleryPreviewViewModel class.
      • Methods inherited from class io.getstream.chat.android.compose.viewmodel.mediapreview.MediaGalleryPreviewViewModelFactory

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaGalleryPreviewViewModelFactory

        MediaGalleryPreviewViewModelFactory(ChatClient chatClient, ClientState clientState, String messageId, Boolean skipEnrichUrl)
        Parameters:
        chatClient - An instance of the low level client used for basic chat API functionality.
        clientState - Holds information about the current SDK state.
        messageId - The ID of the message we are fetching in order to display the attachments.
        skipEnrichUrl - If set to true will skip enriching URLs when you update the message by deleting an attachment contained within it.