add On Visibility Changed Listener
Register a listener
that would like to receive visibility change events. Whenever the visibility of a managed PSPDFView changes, all registered listeners will be notified.
Parameters
listener
Listener to be added.