0. Introduction
Welcome! This tutorial demonstrates adding the Apollo Kotlin SDK to an app to communicate with a GraphQL server. In this tutorial you will learn how to:
- Download a schema
- Write queries and mutations to generate the corresponding Kotlin models
- Handle errors and loading states
- Handle pagination
- Authenticate with a backend server
- Use subscriptions to receive real-time updates
The tutorial uses an instance of
All of the code for this tutorial is available
What are you building?
In this tutorial, you'll build an app that allows you to book a seat on a rocket sent to space by
The tutorial uses the following tools and frameworks:
- Android Studio
- Kotlin and Kotlin coroutines
- Jetpack ComposeandNavigation Componentfor the UI
- Coilfor image loading
To focus on the important parts, this tutorial uses a starter project available at
If you encounter any issues during the tutorial, feel free to ask questions by either