Companion

object Companion

Properties

Link copied to clipboard
const val TAG: String

Functions

Link copied to clipboard
fun newInstance(style: AttachmentsPickerDialogStyle, attachmentsPickerTabFactories: List<AttachmentsPickerTabFactory> = if (style.useDefaultSystemMediaPicker) { AttachmentsPickerTabFactories .defaultFactoriesWithoutPermissions( mediaAttachmentsTabEnabled = style.mediaAttachmentsTabEnabled, fileAttachmentsTabEnabled = style.fileAttachmentsTabEnabled, cameraAttachmentsTabEnabled = style.cameraAttachmentsTabEnabled, pollAttachmentsTabEnabled = style.pollAttachmentsTabEnabled, ) } else { AttachmentsPickerTabFactories.defaultFactories( mediaAttachmentsTabEnabled = style.mediaAttachmentsTabEnabled, fileAttachmentsTabEnabled = style.fileAttachmentsTabEnabled, cameraAttachmentsTabEnabled = style.cameraAttachmentsTabEnabled, pollAttachmentsTabEnabled = style.pollAttachmentsTabEnabled, ) }): AttachmentsPickerDialogFragment

Creates a new instance of AttachmentsPickerDialogFragment.