Class MediaAttachmentPreviewFactory

    • 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
    • Constructor Detail

      • MediaAttachmentPreviewFactory

        MediaAttachmentPreviewFactory()
    • Method Detail

      • canHandle

         Boolean canHandle(Attachment attachment)

        Checks if the factory can create a preview ViewHolder for this attachment.

        Parameters:
        attachment - The attachment we want to show a preview for.
        Returns:

        True if the factory is able to provide a preview for the given Attachment.