Class FallbackQuotedAttachmentMessageFactory

    • 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
      Boolean canHandle(Message message)
      View generateQuotedAttachmentView(Message message, ViewGroup parent) Generates a DefaultQuotedAttachmentView to render the attachment.
      • Methods inherited from class java.lang.Object

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

      • FallbackQuotedAttachmentMessageFactory

        FallbackQuotedAttachmentMessageFactory()
    • Method Detail

      • canHandle

         Boolean canHandle(Message message)
        Parameters:
        message - The quoted message with the attachments we wish to render.
        Returns:

        If the factory can handle the given quoted message attachment or not.

      • generateQuotedAttachmentView

         View generateQuotedAttachmentView(Message message, ViewGroup parent)

        Generates a DefaultQuotedAttachmentView to render the attachment.

        Parameters:
        message - The quoted message holding the attachments.
        parent - The parent ViewGroup in which the attachment will be rendered.
        Returns:

        DefaultQuotedAttachmentView that will be rendered inside the quoted message.