SkyEpub SDK for Android 7
 All Classes Functions Variables
Public Member Functions | List of all members
com.skytree.epub.PagingListener Interface Reference

Public Member Functions

void onPagingStarted (int bookCode)
 
void onPaged (PagingInformation pagingInformation)
 
void onPagingFinished (int bookCode)
 
int getNumberOfPagesForPagingInformation (PagingInformation pagingInformation)
 

Detailed Description

PagingListener inteface must be implemented to handle global pagination related events on ReflowableLayout.

Author
skytree

Member Function Documentation

int com.skytree.epub.PagingListener.getNumberOfPagesForPagingInformation ( PagingInformation  pagingInformation)

should return the number of pages for requested pagingInformation only if it exists. if there's no information for given pagingInformation, you should return 0

void com.skytree.epub.PagingListener.onPaged ( PagingInformation  pagingInformation)

called when paginating one chapter is over.

void com.skytree.epub.PagingListener.onPagingFinished ( int  bookCode)

called when global pagination for all chapters is finished

void com.skytree.epub.PagingListener.onPagingStarted ( int  bookCode)

called when global pagination for all chapters is started


The documentation for this interface was generated from the following file: