~/talk

Implementing an Android client that brings out GraphQL’s strengths

TalkinJapaneseat DroidKaigi 2024 · 2024-09-11..09-13· [graphql, android]
links:none on file
slides:none on file

An Android app has used GraphQL end-to-end for about two years and documents four ADRs: put domain logic in the server schema, use Apollo-Kotlin v3 with a per-screen Flow wrapper that emits Kotlin Flow and throws on GraphQL errors, map client-side errors to HTTP 400 and server-side errors to 500, and colocate GraphQL fragments with Jetpack Compose components. The Flow wrapper centralizes multi-query flows, simplifies testing, and applies exponential backoff with five retries before surfacing errors.

AI-written summary · about

  1. 0:00Introduction
  2. 4:41Adopt GraphQL
  3. 8:48Server-side domain logic
  4. 15:01Apollo Client design
  5. 23:55GraphQL errors handling
  6. 29:59Jetpack Compose with fragments
  7. 35:23Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.