MediaGalleryConfig

data class MediaGalleryConfig(val isCloseVisible: Boolean = true, val isOptionsVisible: Boolean = true, val isShareVisible: Boolean = true, val isGalleryVisible: Boolean = true, val optionsConfig: MediaGalleryOptionsConfig = MediaGalleryOptionsConfig()) : Parcelable

Configuration for the media gallery preview screen. By default, all UI elements are visible.

This class implements Parcelable because it is currently transported via Intent extras to MediaGalleryPreviewActivity.

Parameters

isCloseVisible

If the close button is visible.

isOptionsVisible

If the options button is visible.

isShareVisible

If the share button is visible.

isGalleryVisible

If the gallery button is visible.

optionsConfig

The configuration for the options in the media gallery.

Constructors

Link copied to clipboard
constructor(isCloseVisible: Boolean = true, isOptionsVisible: Boolean = true, isShareVisible: Boolean = true, isGalleryVisible: Boolean = true, optionsConfig: MediaGalleryOptionsConfig = MediaGalleryOptionsConfig())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)