from Document Descriptor
open fun fromDocumentDescriptor(@NonNull context: Context, @NonNull documentDescriptor: Array<DocumentDescriptor>): PdfUiFragmentBuilder
Creates a new fragment builder with document describe by DocumentDescriptor. If there are multiple passed document descriptors, documents for these descriptors will be displayed as tabs.
Return
Fragment builder instance.
Parameters
context
Context of the calling component, used for fragment creation.
document Descriptor
List of document descriptors for documents that should be displayed in the PdfUiFragment.