Hi everyone,
I'm working on an application using SmartFoxServer, and I need to implement pagination when retrieving users with the FindUsersRequest command. Currently, I'm able to fetch a list of users that match my search criteria, but I'm struggling to figure out how to split these results into pages (e.g., displaying 20 users per page and navigating between pages).
Is there a native way to add an offset or limit to the results returned by FindUsersRequest, or are there best practices for handling pagination on the client or server side?
Any suggestions or code examples would be greatly appreciated!
Thanks in advance.
How to Implement Pagination with FindUsersRequest
-
ciaoamigos
- Posts: 70
- Joined: 05 Sep 2021, 16:57