A simple example of how to implement pagination with Apollo Kotlin and the normalized cache.
Uses the GitHub GraphQL API to fetch a list of repositories for a given user.
In the main branch is the "manual" way of doing it, where you update the cache via the
ApolloStore
API.
The gist of it is here.
The incubating-pagination
branch shows how to use the incubating pagination support.
You can see a the diff here.
To run the app, first get a GitHub token from https://github.com/settings/tokens and update
githubOauthKey
in gradle.properties
.