from Image Provider
open fun fromImageProvider(@NonNull context: Context, @NonNull dataProvider: DataProvider): PdfUiFragmentBuilder
Creates a new fragment builder with an image document being loaded from data provider.
Return
Fragment builder with specified image document data provider as the source.
Parameters
context
Context of the calling component, used for fragment creation.
data Provider
Data provider of the image documents to open.