Class QuotedAttachmentFactoryManager

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean canHandle(Message message) Checks if any QuotedAttachmentFactory can consume attachments from the given message.
      final Unit createAndAddQuotedView(Message message, ViewGroup parent) Create and add 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

         final Boolean canHandle(Message message)

        Checks if any QuotedAttachmentFactory can consume attachments from the given message. If there are no quoted message factories that can handle the attachment will default to the AttachmentFactoryes that can.

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

        True if there is a factory that can handle the attachments from this quoted message.

      • createAndAddQuotedView

         final Unit createAndAddQuotedView(Message message, ViewGroup parent)

        Create and add 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.