OnNewPageReadyListener

Listens for return of a NewPage instance to the editor. The factory must ensure that it either calls onNewPageReady or onCancelled for the page creation flow to properly finish.

See also

Functions

Link copied to clipboard
abstract fun onCancelled()
Called by the factory if creation of a new page was cancelled.
Link copied to clipboard
abstract fun onNewPageReady(@NonNull newPage: NewPage)
Called by the factory when a NewPage instance is ready.