-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller for custom logics? #78
Comments
Hi @lzzy12, In fact, the ReaderContext does provide a |
Yes it will be helpful if this could be available through an API outside the package. |
@lzzy12 I have added a
The PaginationInfo class contains a lot of information about the position. Does it match your requirements ? |
Hi, thanks for your quick responses. While this does give me the current page number, I could not figure out which one of the attributes stores the total number of pages in the epub file. Could you please point me to it? |
Hello @lzzy12, in fact
|
Hi @jmgeffroy Currently this |
Hi @lzzy12, That's a good point; thank you for your feedback. Based on your observations, I have to look into this more. Obviously, page counts in reflowable epubs are approximations, but not as bad as what you are experiencing. Today I'm busy, but I'll look at it asap. |
Hi @jmgeffroy, did you get a chance to look at this issue? |
Hi, my use-case requires to get the page number the user currently is on and the total number of pages. Is this possible to get with the EpubScreen.fromFile constructor or is there any other way to do this? I am looking for something like a controller class for the reader.
The text was updated successfully, but these errors were encountered: