DocumentScrollListener

Interface for listeners that can receive scrolling events of a PdfFragment. This class may be used to implement custom scroll indicators or scrollbar views.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun onDocumentScrolled(currX: Int, currY: Int, maxX: Int, maxY: Int, extendX: Int, extendY: Int)
Called whenever the document in the fragment scrolled.
open fun onDocumentScrolled(@NonNull fragment: PdfFragment, currX: Int, currY: Int, maxX: Int, maxY: Int, extendX: Int, extendY: Int)
Link copied to clipboard
Called whenever the current scroll state of the document view has changed.