Skip to content

v2.3.15

Latest
Compare
Choose a tag to compare
@ALexanderLonsky ALexanderLonsky released this 06 Aug 15:46
0ef3ca0

GiphyDialogFragment Enhancements:

  • Introduced two new properties to enhance the customization of the GiphyDialogFragment:
    kotlin
val dialog = GiphyDialogFragment.newInstance(
    settings.copy(
        trayHeightMultiplier = 0.75F,  
        autoCloseOnMediaSelect = false
    )
)
  • trayHeightMultiplier: This property allows developers to set the height of the tray's "snap point" as a ratio of the GiphyDialog's height.

  • autoCloseOnMediaSelect: This property provides control over the dialog's behavior when a media item is selected. Setting this property to false keeps the dialog open even after a media item is chosen, offering a smoother and more flexible user experience.