Package 

Interface QuotedAttachmentFactory


  • 
    public interface QuotedAttachmentFactory
    
                        

    Represents a handler that can handle quoted attachments of certain type and create views for them.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean canHandle(Message message) Checks if this QuotedAttachmentFactory can consume quoted attachments from the given message.
      abstract View generateQuotedAttachmentView(Message message, ViewGroup parent) Create a view for the quoted attachments.
      • Methods inherited from class java.lang.Object

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

      • canHandle

         abstract Boolean canHandle(Message message)

        Checks if this QuotedAttachmentFactory can consume quoted attachments from the given message.

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

         abstract View generateQuotedAttachmentView(Message message, ViewGroup parent)

        Create a view for the quoted attachments.

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