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

Adding scroll and zoom listeners #1027

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aquintiliano
Copy link

This commit adds 2 more listeners that I need in a project:

ScrollListener (differs from PageScrollListener, since I need X and Y position)
ZoomListener

If you are not ok with the code, please, let me know, otherwise, please, merge it

Thanks

@vimalcvs
Copy link

vimalcvs commented Aug 2, 2022

  pdfView = findViewById(R.id.pdfView);
    pdfView.setMinZoom(1f);
    pdfView.setMidZoom(2.5f);
    pdfView.setMaxZoom(10.0f);

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.

2 participants