OnVisibilityChangedListenerManager

Collection of multiple OnVisibilityChangedListener objects. Calling onShow and onHide will dispatch on all previously added listeners.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Adds a listener to the collection.
Link copied to clipboard
open fun clear()
Removes all previously added OnVisibilityChangedListener instances.
Link copied to clipboard
open fun onHide(@NonNull view: View)
Called whenever a PSPDFKit view has been hidden.
Link copied to clipboard
open fun onShow(@NonNull view: View)
Called whenever a PSPDFKit view has become visible.
Link copied to clipboard
Removes a previously added listener from the collection.