Android client implementation that brings out the best of GraphQL

GraphQL is gathering the attention of many developers due to the expressive power of its API schema and the flexibility of its data acquisition. However, you may not be able to get the full benefit of GraphQL by simply integrating GraphQL into the architecture of an existing Android application. It would reduce development efficiency if you declared UseCase and/or Repository classes that do not match the actual processing or made mistakes in the GraphQL Fragment Colocation: the partition granularity, the file locations, etc. To bring out the best of GraphQL, it is essential to design an architecture that takes advantage of its characteristics and to utilize declarative UI. In this session, we will introduce ADR (Architecture Decision Records) accumulated through 2 years of operating a new product that fully adopted GraphQL. We use Apollo-Kotlin as our GraphQL client library. The topics will be as follows: - GraphQL and schema-driven development - Layered architecture actualized by the Apollo client - Jetpack Compose and GraphQL Fragment Colocation Let's understand the characteristics of GraphQL and learn how to accelerate schema-driven development. (Translated by the DroidKaigi Committee)

  • Kurumi Morimoto Android Engineer at Recruit Co., Ltd.


Summary

  • Dates 2024.09.13 / 15:20 ~ 16:00 (40min)
  • Place Giraffe
  • Language Japanese

Intended audience

- Anyone interested in using GraphQL in Android applications - Anyone already using GraphQL in Android applications

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android, Google Play and the Google Play logo are trademarks of Google LLC.
Past DroidKaigi

© 2014- DroidKaigi Committee