Skip to content

Best practice for "double" pagination #1244

@attheodo

Description

@attheodo

New issue checklist

Hello everyone!

We have a list that displays photos grouped by album. Albums and their photos are being retrieved by two different GraphQL queries that return results in a paginated manner. We're planning to use a ListStackedSectionController for each album-and-its-photos item with one section ctrl for the "album header cell" and one section controller to manage all of it's photos.

Wanted to ask if it makes sense to have the pages fetching logic (keeping offsets and issuing network requests for next page of photos) inside the section ctrl that manages the album's photos?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions