show
open fun show(@NonNull context: Context, @NonNull manager: FragmentManager, @IntRange(from = 0 ) currentPage: Int, @IntRange(from = 0 ) maxPages: Int, @NonNull documentName: String, @NonNull listener: DocumentPrintDialog.PrintDialogListener)
Shows the DocumentPrintDialog
. Will always attempt to obtain an existing instance of the dialog.
Parameters
context
The context.
manager
The FragmentManager to use.
current Page
Currently displayed page in the document.
max Pages
Document pages count.
document Name
Document name shown in dialog.
listener
Dialog listener.
open fun show(@Nullable dialog: BaseDocumentPrintDialog, @NonNull context: Context, @NonNull manager: FragmentManager, @IntRange(from = 0 ) currentPage: Int, @IntRange(from = 0 ) maxPages: Int, @NonNull documentName: String, @NonNull listener: DocumentPrintDialog.PrintDialogListener)
Shows the DocumentPrintDialog
. Will always attempt to obtain an existing instance of the dialog.
Parameters
dialog
The BaseDocumentPrintDialog to show.
context
The context.
manager
The FragmentManager to use.
current Page
Currently displayed page in the document.
max Pages
Document pages count.
document Name
Document name shown in dialog.
listener
Dialog listener.