Companion
Factory methods and bundle argument keys for PdfFragment.
Properties
Default zoom scale.
Resource ID for the document view within the fragment layout.
Key for storing the last viewed page index inside the DocumentDataStore of the loaded document. The last viewed page index is only read or written if PdfConfiguration.isLastViewedPageRestorationEnabled is set to true. If page restoration is disabled, the fragment won't access or modify the document store and any previously written value. The value is saved to the store inside onStop.
Maximum zoom scale. configurable in PdfConfiguration see maxZoomScale.
Bundle argument key for the PDF configuration.
Bundle argument key for image document source.
Bundle argument key for document sources.
Functions
Creates and returns a new Fragment to display a converted PDF document from a supported image format.
Creates and returns a new Fragment to display a PDF document.
Creates and returns a new Fragment to display a PDF document from an already opened PdfDocument instance. This will not reload the document.
Creates and returns a new Fragment to display a PDF document from an PdfFragment. This will copy the state of the given Fragment while applying the new configuration.
Creates and returns a new Fragment to display passed list of PDF documents as a single compound document.
Creates and returns a new Fragment to display a PDF document from a custom data source.
Creates and returns a new Fragment to display a PDF document from a custom data source
Creates and returns a new Fragment to display a PDF document from the given DocumentSources.
Creates and returns a new Fragment to display a PDF document from a custom data source as a compound document.