PdfView.OnFormWidgetInfoUpdatedListener


public interface PdfView.OnFormWidgetInfoUpdatedListener


Listener interface for handling form edits on a PDF Document.

Summary

Public methods

abstract void

Called when a user interacts with a form widget which leads to the change in state of the widget i.e. FormWidgetInfo

Public methods

onFormWidgetInfoUpdated

Added in 1.0.0-alpha13
abstract void onFormWidgetInfoUpdated(@NonNull FormEditInfo formEditInfo)

Called when a user interacts with a form widget which leads to the change in state of the widget i.e. FormWidgetInfo

Parameters
@NonNull FormEditInfo formEditInfo

The edit to be applied to the PdfDocument Note: In order to correctly update the state the formEditInfo at the document the formEditInfo must be applied to the document via androidx.pdf.EditablePdfDocument.applyEdit.