Skip to content

Conversation

@Flamedek
Copy link
Contributor

@Flamedek Flamedek commented Aug 13, 2018

The PDFView now automatically and accurately saves its view state (position, zoom) on configuration change and process destruction.

Additionally it provides apis to manually save and restore state in case you'd want to keep states of previous documents the user might return to.

The application developer has to make sure the same document is loaded after the restoration as before. The view has no ability to save and restore whole documents so relies on the host activity calling load() with the same source as before the save.

The automatic behaviour can be disabled with setSaveEnabled(false);

Close #330
Close #607

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

Successfully merging this pull request may close these issues.

1 participant