Package 

Class AttachmentFactoryManager

    • Constructor Detail

    • Method Detail

      • canHandle

         final Boolean canHandle(Message message)

        Checks if any AttachmentFactory can consume attachments from the given message.

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

         final InnerAttachmentViewHolder createViewHolder(Message message, MessageListListeners listeners, ViewGroup parent)

        Create a ViewHolder for the custom attachments View which is aware of the parent's ViewHolder lifecycle.

        Parameters:
        message - The message containing custom attachments that we are going to render.
        listeners - MessageListListeners with listeners for the message list.
        parent - The parent View where the attachment content view is supposed to be placed.