Interface PdfThumbnailBar.OnPageChangedListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onPageChanged(@NonNull() PdfThumbnailBarController controller, @IntRange(from = 0) int pageIndex) Called whenever the user touched or dragged across the thumbnail bar, selecting a different page.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onPageChanged

         abstract void onPageChanged(@NonNull() PdfThumbnailBarController controller, @IntRange(from = 0) int pageIndex)

        Called whenever the user touched or dragged across the thumbnail bar, selecting a different page. The thumbnail bar won't update its internal state (i.e. the currently shown emphasized/highlighted page) after calling this method, but will wait for a subsequent call to onPageChanged or onPageChanged before updating.

        Parameters:
        controller - PdfThumbnailBarController that triggered this event.
        pageIndex - Number of the selected page.