Package 

Class UnsupportedAttachmentFactory

  • All Implemented Interfaces:
    io.getstream.chat.android.ui.feature.messages.list.adapter.viewholder.attachment.AttachmentFactory

    
    public final class UnsupportedAttachmentFactory
     implements AttachmentFactory
                        

    Fallback factory for unsupported attachment types.

    • Method Summary

      Modifier and Type Method Description
      Boolean canHandle(Message message) Checks if the message contains unsupported attachments.
      InnerAttachmentViewHolder createViewHolder(Message message, MessageListListeners listeners, ViewGroup parent) Creates fallback UI that represents unsupported attachments.
      • Methods inherited from class io.getstream.chat.android.ui.feature.messages.list.adapter.viewholder.attachment.UnsupportedAttachmentFactory

        createViewHolder
      • Methods inherited from class java.lang.Object

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

      • UnsupportedAttachmentFactory

        UnsupportedAttachmentFactory()
    • Method Detail

      • canHandle

         Boolean canHandle(Message message)

        Checks if the message contains unsupported attachments.

        Parameters:
        message - The message containing custom attachments that we are going to render.