Skip to content

Go to Page Command not redirecting properly. #2

@AshishAtKody

Description

@AshishAtKody

I have implemented this sdk in my flutter ebook reader mobile application.
I want to navigate to specific page on user-input.
For this I am using readerContext.execute(GoToPageCommand(index)); function where index is user-specific page index.

It works well for the epub file where every chapter has single page,
but In case where chapter has multiple pages, it only redirects to first page of that chapter instead of specific page.

I saw the percentage calculation for findSpineItemIndex in GoToPageCommandProcessor, I want to navigate to specific page index.
Please provide solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions