Package com.pspdfkit.ui.scrollbar
Interface VerticalScrollBar.OnPageChangeListener
-
- All Implemented Interfaces:
public interface VerticalScrollBar.OnPageChangeListener
Interface for a listener that is notified of scrollbar page change events.
-
-
Method Summary
Modifier and Type Method Description abstract void
onPageChanged(@NonNull() VerticalScrollBar verticalScrollBar, @IntRange(from = 0) int pageIndex)
Called whenever the used dragged the scrollbar indicator to a different page. -
-
Method Detail
-
onPageChanged
abstract void onPageChanged(@NonNull() VerticalScrollBar verticalScrollBar, @IntRange(from = 0) int pageIndex)
Called whenever the used dragged the scrollbar indicator to a different page.
- Parameters:
verticalScrollBar
- The VerticalScrollBar that triggered the event.pageIndex
- The 0-based page index that was selected.
-
-
-
-