Skip to content
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

Save pdf page when screen orientation changed - Implement saveInstanceState() and restore. #38

Open
navimakarov opened this issue Jul 27, 2021 · 1 comment

Comments

@navimakarov
Copy link

navimakarov commented Jul 27, 2021

Is it possible to go to the same screen after orientation change? Because right now it starts from 1 page

@Dmitry-Borodin
Copy link
Owner

Dmitry-Borodin commented Jul 30, 2021

By default android recreates view hierarchy, we can store current scrolling position and scroll to in on restore.
But right now it's not implemented. Need to check if we can reliably scroll to position and get current position.
This is a good feature request, thank you.
Need to save to bundle currently opened file as well, to reopen it automatically.

@Dmitry-Borodin Dmitry-Borodin changed the title Save pdf page when screen orientation changed Save pdf page when screen orientation changed - Implement save instance state and restore. Aug 25, 2021
@Dmitry-Borodin Dmitry-Borodin changed the title Save pdf page when screen orientation changed - Implement save instance state and restore. Save pdf page when screen orientation changed - Implement saveInstanceState() and restore. Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants