from Data Provider
open fun fromDataProvider(@NonNull context: Context, @NonNull dataProviders: Array<DataProvider>): PdfUiFragmentBuilder
Creates a new fragment builder with document being loaded from data provider. If there are multiple passed data providers, multiple documents will be loaded and merged into a single document.
Return
Fragment builder with specified document data providers as the source.
Parameters
context
Context of the calling component, used for fragment creation.
data Providers
List of data providers of the documents to merge and open, or just a single data provider for a single document to be opened.