setDocument

abstract fun setDocument(@NonNull document: PdfDocument)

Sets the document to all instantiated views. This has to be called on the main thread.

Parameters

document

Document to be set.