fromUri

open fun fromUri(@NonNull context: Context, @NonNull uris: Array<Uri>): PdfUiFragmentBuilder

Creates a new fragment builder with document being loaded from URI. If there are multiple passed URIs, multiple documents will be loaded and merged into a single document.

Return

Fragment builder with specified document URIs as the source.

Parameters

context

Context of the calling component, used for fragment creation.

uris

List of URIs of the documents to merge and open, or just a single URI for a single document to be opened.