add Document Scroll Listener
Adds a DocumentScrollListener for listening to scrolling events on the document. If the listener has already been added previously, this method will be a no-op. Listeners registered with this method will be unregistered automatically in onDetach. Passing null
is not allowed, and will result in an exception.
Parameters
document Scroll Listener
Listener to be notified of document scroll events. May not be null
.