Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8504 Reply

    Jordi

    Dear Dr Plug,

    We found a problem while saving last page seen in Android, on normal flow it works, however in these case it fails

    1. Open PDF 1 and go to page X
    2. Open PDF 2 and go to page Y
    3. Reopen PDF, it doesn’t go to X it starts with page 1 again..

    And if the application crashes, all pdf start at page 1 again..

    Can you take a look at it?

    #8505 Reply

    Dr. Plug
    Moderator

    Hi Jordi,

    Actually, in ReaderView there is a method named setEnableUseRecentPage
    so if you want to start the page you see at last, use this function like this.
    ReaderView.setEnableUseRecentPage(true);

    Best Regards,
    Dr.Plug

    #10717 Reply

    Juanjo

    Hi,
    Few month ago, my teammate Jordi. Wrote about this theme. Now we need to know whether is possible keep the last viewed page even after totally closing the app.
    In IOS works, but in Android not. Your Android sample project doesn’t do it.

    Is there any way to make it work in Android?

    Thanks,

    #10810 Reply

    Dr. Plug
    Moderator

    Hello Juanjo,

    We are sorry for the delay. Did you put the line we indicated as below?
    ReaderView.setEnableUseRecentPage(true);

    If so, could you please let us know where you put the line in your codes?

    Best regards,

    Dr. Plug

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Saving page on Android
Your information: