~/talk

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

Talkat Android Makers 2022 · 2022-04-25..04-26· [android, frontend-architecture]
linkedin:zhenleiji
slides:none on file

A multi-platform server-driven UI powers a polymorphic JSON -> DTO -> view-entity -> view pipeline with a view-factory map and adapter so a change in backend order or type moves UI without a release; this lets the team ship a new campaign feature in two days. Kotlin serialization fails to ignore unknown components so the implementation uses Moshi with a fallback adapter. Lacking backend versioning causes pain; a self-contained vaccine view lets one team inject components into another screen and enables AB tests and CMS-driven content.

AI-written summary · about

  1. 0:00Intro
  2. 0:53The Month of November
  3. 3:18Api Response (not SDUI)
  4. 4:12Api Response (SDUI)
  5. 12:31Atomic design (code)
  6. 13:31Foundation
  7. 15:45Polymorphic JSON + Data Models Libraries
  8. 16:55Moshi Setup
  9. 20:10Data Models + View Entities
  10. 22:353. View Entities + View (ViewFactory Map)
  11. 24:573. View Entities + View (RecyclerViewAdapter)
  12. 25:26Test strategy
  13. 27:17HTTP Debugging Proxy
  14. 28:23Content management system
  15. 32:09Vaccine
  16. 34:02Not so hypothetical situation
  17. 35:39Android-less
  18. 37:38Zhenlei Ji
~/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.