Builder

class Builder

Builder used to construct DocumentSharingDialogConfiguration instance.

Constructors

Link copied to clipboard
constructor(context: Context)

Creates a builder for the document sharing dialog configuration.

constructor(context: Context, document: PdfDocument, @IntRange(from = 0) currentPage: Int)

Creates a builder for the document sharing dialog configuration.

constructor(context: Context, shareAction: ShareAction, document: PdfDocument, @IntRange(from = 0) currentPage: Int)

Creates a builder for the document sharing dialog configuration.

Functions

Link copied to clipboard

Creates a DocumentSharingDialogConfiguration with the arguments supplied to this builder.

Link copied to clipboard

Sets currently displayed page.

Link copied to clipboard

Sets the dialog title.

Link copied to clipboard

Sets loaded document pages count.

Link copied to clipboard

Sets the initial document name shown in dialog.

Link copied to clipboard

Sets the positive button text.

Link copied to clipboard

Sets the initial position for the pages spinner to 'All pages'.

Link copied to clipboard

Sets proper layout changes for saving flow.