removeDocumentScrollListener

open fun removeDocumentScrollListener(@NonNull documentScrollListener: DocumentScrollListener)

Removes a previously registered DocumentScrollListener. After calling this method the documentScrollListener will stop receiving scrolling events. If the listener has not been added previously, this method will be a no-op. Passingnull is not allowed, and will result in an exception.

Parameters

documentScrollListener

Listener to unregister from document scroll events. May not be null.

See also