~/talk

Life is too short to develop only for Android – A journey to Server-driven UI

Talkat droidcon New York 2022 · 2022-09-01..09-02· [frontend-architecture]
linkedin:zhenleiji
slides:none on file

A server-driven UI is built: polymorphic JSON drives a RecyclerView of components so a backend change rearranges or swaps carousel/grid without app releases, cutting a planned month of work down to shipping in two days for a Black Friday → month-long promotion. Implementation uses Moshi custom adapters with fail‑soft parsing, DTO→view‑entity→view mapping via a view‑factory map, deep links and tracking for navigation and A/B, CMS for content, and a “vaccine” pattern to inject cross‑domain UI. Tests: contract, unit, and screenshot (Paparazzi) planned.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Real-world problem solved
  3. 8:45What is Server-driven UI
  4. 13:29Foundation of the system
  5. 23:29Testing strategy and tips
  6. 25:54Cross-team collaboration
  7. 29:49Android development simplified
  8. 31:12Conclusion and future work
~/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.