Builder
class Builder
Builder used to construct DocumentSharingDialogConfiguration instance.
Constructors
Link copied to clipboard
Creates a builder for the document sharing dialog configuration.
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
fun documentPages(@IntRange(from = 0 ) documentPages: Int): DocumentSharingDialogConfiguration.Builder
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
fun setSavingFlow(savingFlow: Boolean, context: Context): DocumentSharingDialogConfiguration.Builder
Sets proper layout changes for saving flow.