setDocument

open fun setDocument(@Nullable document: PdfDocument, @Nullable configuration: PdfConfiguration, @NonNull onHideListener: OutlinePagerBaseView.OnHideListener)

Sets the document to the adapter. Called on the main thread.

Parameters

document

Document to be set.

configuration

The configuration

onHideListener

Outline pager callbacks.