this post was submitted on 12 Jul 2023
10 points (91.7% liked)
Lemmy App Development
711 readers
66 users here now
A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.
On-Topic:
- programming questions related to the Lemmy platform
- sharing your ideas, WIP, or released Lemmy-related work
Off-Topic:
- general programming questions unrelated to Lemmy
- feature requests for developers
- sharing or promoting work not related to Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What's the exact problem with the pagination? Basically you set the page param to the page you want to receive. The amount of pages is unknown to the client, you just know how many per Page you receive (the limit).
However, I'd recommend to make infinite scrollers anyway.
i'm just unsure how to actually correctly fetch the next set items in order to update display, whether for scrolling or paginating. for my client i just want to append at the bottom of the screen.