Recent searches
No recent searches
Zendesk Android Support SDK - getAllRequests: no pagination?
Posted Aug 06, 2021
We're using zendesk support sdk for Android v5.0.2. We want to get only a few recent requests, not all of them. Because for users that have 50+ requests, it takes more than 5 seconds to return all. Is there or will there be support for pagination while getting all requests?
0
5
5 comments
Eric Nelson
Hey @...
I'm checking with the appropriate mobile teams. In the meantime, have you thought about using the getRequests endpoint instead and filtering via ticket status? That might help with this issue somewhat. Otherwise, if you're using conversations, I'd suggest checking out the RequestListActivity builder. It's quite a bit faster since it's not bringing in all ticket information and just the conversation pieces.
Thanks!
Eric
0
Uğurcan Yıldırım
Hi Eric,
Thanks for your answer. Unfortunately, filtering via ticket status doesn't help in our case. We have a list of cards that shows only the most recent three requests. These are not dependant on the ticket status. Then, on another page, we have the list of tickets that should load requests in pages, not all of them at once. So, we are heavily in need of paginated requests. And as you suggested, we cannot use the RequestListActivity because we have a very customized UI.
If you have any other suggestion, we would appreaciate.
Thanks.
0
Eric Nelson
Hey Uğurcan,
Makes perfect sense. It sounds like pagination is something being talked through on the mobile teams. Though hasn't been slated onto the roadmap as of yet. I'll keep you in the loop if that changes in the near future.
On another note - I know this isn't a perfect solution, but it could be done via the tickets api. You could build a small helper to call this directly and then handle from there.
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy
0
Rafael Santos
Hey team,
Are there any news on pagination for getRequests or getAllRequests?
0
Greg Katechis
Hi Rafael! As a company, we've been focusing development efforts on our messaging SDKs and as such, this is unlikely to be an option that is brought to this SDK. I know that's probably not the news you wanted, I just don't want to set unrealistic expectations on this.
0