Package 

Class GiphyAttachmentFactory

    • Constructor Detail

      • GiphyAttachmentFactory

        GiphyAttachmentFactory(GiphyInfoType giphyInfoType, GiphySizingMode giphySizingMode, ContentScale contentScale, Function2<Context, String, Unit> onContentItemClick, Function1<List<Attachment>, Boolean> canHandle)
        Creates a new instance of GiphyAttachmentFactory with the default parameters.
      • GiphyAttachmentFactory

        GiphyAttachmentFactory(GiphyInfoType giphyInfoType, GiphySizingMode giphySizingMode, ContentScale contentScale, Function1<GiphyAttachmentClickData, Unit> onItemClick, Function1<List<Attachment>, Boolean> canHandle)
        Parameters:
        giphyInfoType - Used to modify the quality and dimensions of the rendered Giphy attachments.
        giphySizingMode - Sets the Giphy container sizing strategy.
        contentScale - Used to determine the way Giphys are scaled inside the Image composable.
        canHandle - Lambda that checks if the factory can handle the given attachments.