add On Document Editing Mode Change Listener
abstract fun addOnDocumentEditingModeChangeListener(@NonNull listener: DocumentEditingManager.OnDocumentEditingModeChangeListener)
Adds a OnDocumentEditingModeChangeListener to get notified when document editing mode has changed. If the listener has already been added previously, this method will be a no-op. Adding null
is not allowed, and will result in an exception.
Parameters
listener
OnDocumentEditingModeChangeListener that should be notified. Must be non-null.