new Instance From Document Sources
fun newInstanceFromDocumentSources(sources: List<DocumentSource>, configuration: PdfConfiguration): PdfFragment
Creates and returns a new Fragment to display a PDF document from the given DocumentSources.
Return
New instance of fragment that can be attached to view hierarchy.
Parameters
sources
List of DocumentSources to load data from.
configuration
Configuration for PDF display generated with PdfConfiguration.Builder.