InstantPdfUiFragmentBuilder

Experimental API - Might change in the future.

Builder used for creating an InstantPdfUiFragment. Allows setting the document and all of the necessary configuration.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Builds InstantPdfUiFragment with the values provided in the InstantPdfUiFragmentBuilder.

Link copied to clipboard

Sets PdfActivityConfiguration to be set on the target InstantPdfUiFragment in which the document will be displayed. If null the default configuration will be set.

Link copied to clipboard

Sets a custom fragment class used for document display. The fragment must extend InstantPdfUiFragment. If null is passed, the default InstantPdfUiFragment will be used for document display.

Link copied to clipboard

Sets a custom fragment tag to be used with the internal PdfFragment. This is required when trying to host multiple fragments in the same view hierarchy.