showImage

open fun showImage(@NonNull context: Context, @NonNull imageUri: Uri, @Nullable configuration: PdfActivityConfiguration)

Opens a new PdfActivity displaying a passed image document.

Parameters

context

Calling context

imageUri

android.net.Uri pointing to the image document with a supported format (JPG or PNG).

configuration

Desired activity configuration generated with , getDefaultImageDocumentActivityConfiguration or getDefaultImageDocumentActivityConfiguration.