public static interface

ThumbnailAdapter.OnThumbnailClickListener

com.pspdfkit.ui.thumbnail.ThumbnailAdapter.OnThumbnailClickListener
Known Indirect Subclasses

Class Overview

Listener for receiving page changes caused by the user touching the ThumbnailAdapter.

Summary

Public Methods
abstract void onThumbnailChanged(View view, int pageIndex)
Called whenever the user touched on a thumbnail, selecting a different page.

Public Methods

public abstract void onThumbnailChanged (View view, int pageIndex)

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

Parameters
view View that triggered this event.
pageIndex Number of the selected page.