show

open fun show(@NonNull fragmentActivity: FragmentActivity, @NonNull configuration: PdfActivityConfiguration, @NonNull oldComparisonDocument: ComparisonDocument, @NonNull newComparisonDocument: ComparisonDocument, @NonNull outputFile: File, @NonNull listener: ComparisonDialogListener)

Shows the document comparison dialog.

Parameters

fragmentActivity

Activity to host the document comparison dialog fragment.

configuration

PdfActivityConfiguration instance which defines the look and feel of the document comparison UI.

oldComparisonDocument

ComparisonDocument representing the old document version used for comparison.

newComparisonDocument

ComparisonDocument representing the new document version used for comparison.

outputFile

Output File to which the comparison result will be written.

listener

ComparisonDialogListener for reporting comparison success and errors.