add On Document Visible Listener
abstract fun addOnDocumentVisibleListener(@NonNull listener: DocumentCoordinator.OnDocumentVisibleListener)
Registers a OnDocumentVisibleListener to get notified when document gets visible in the manager. If the listener has been registered previously, this method will be a no-op.
Parameters
listener
Listener to register. Must be non-null.