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

Is there any method to retrieve more photos like using offset in query? #72

Closed
rkdrnf opened this issue Oct 9, 2023 · 1 comment
Closed

Comments

@rkdrnf
Copy link

rkdrnf commented Oct 9, 2023

Is your feature request related to a problem? Please describe.
I'm trying to build custom gallery to enable users to pick photos from.

Describe the solution you'd like
photos must be loaded constantly as users navigate through gallery so there must be a method to load more photos using cursor token or offset.
Is there any way to achieve this using this plugin?

@nkalupahana
Copy link
Collaborator

This is currently not supported, as far as I know -- you'll have to fetch everything at once. If this is a feature you need, feel free to implement it and make a PR -- you should be able to add a predicate to PHFetchOptions that allows for filtering by startDate, allowing for some sort of pagination.

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