Zendesk Android Support SDK - getAllRequests: no pagination?

3 コメント

  • Eric Nelson
    Zendesk Developer Advocacy

    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.



  • 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.


  • Eric Nelson
    Zendesk Developer Advocacy

    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



Powered by Zendesk