~/talk

Server-Driven UI with Jetpack Compose and GraphQL

TalkinJapaneseat DroidKaigi 2021 · 2021-10-19..10-21· [android, graphql]
name:sonatard
links:none on file
slides:none on file

How to implement a native Server-Driven UI on Android by using Jetpack Compose for the client and GraphQL for delivering both screen layout and typed content. The system uses a single GraphQL query that returns screen layout plus typed sections/fragments which map to Compose components, with Apollo Android codegen and fragment colocation; includes an admin UI for editing ordered blocks (banners, collections), examples like announcement routing, deployment on GCP with a small team, and notes that the backend must expose GraphQL and layout variability requires careful design.

AI-written summary · about

  1. 0:00Server-driven UI overview
  2. 1:50Jetpack Compose & GraphQL basics
  3. 3:55GraphQL & Compose integration
  4. 6:27Airbnb case study
  5. 9:58Screen & section design
  6. 12:24Server-driven UI challenges
  7. 14:34Form screen implementation
  8. 17:47Simple demo
  9. 20:16GraphQL & SDUI challenges
  10. 21:43SDUI potential & limits
  11. 22:48Summary & use cases
~/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.