~/talk

Building Performant And Secure Server-Driven User Interfaces

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [frontend-architecture]
links:none on file
slides:none on file

Home feed is implemented as a server-driven layout plus separate content APIs to allow caching and degraded loading; the config removes HTTP method and host to prevent malicious redirects and unintended writes. Defaults live in a JSON asset to avoid large string allocations, layout placeholders render immediately for ~25 rows while per-row APIs replace them, diffs batch every 200 ms, shared RecycledViewPool plus layoutManager recycle flag cuts view inflations by about one third (83 → ~55). State saving uses a custom per-row registry; profiling uses Android memory/CPU profilers, logs, MockWebServer and Espresso; Compose is being explored.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:26Server-driven UI challenges overview
  3. 10:24Secure layout API design
  4. 13:12Android UI implementation approaches
  5. 14:36Nested RecyclerView challenges
  6. 16:44Optimizing view inflation and scrolling
  7. 19:17Saving horizontal scroll positions
  8. 21:23Custom state restoration framework
  9. 25:39View snapping and scroll behavior
  10. 27:03Fixing nested RecyclerView scrolling
  11. 28:09Talk conclusion and Q&A start
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.