~/talk

Peristence as the Single Source of Truth

Talkat droidcon Berlin 2018 · 2018-06-25..06-27· [frontend-architecture, databases]
links:none on file
slides:none on file

Claims that driving UI exclusively from persistence (PSST) makes Android apps offline‑first, unidirectional and easy to debug. Implements examples: login flow with repository outside lifecycle, Reddit list/comments using ID-based subscriptions, immediate comment showing by saving inflight/synced/failed statuses to database and retrying with WorkManager/JobScheduler. Uses Room for compile‑time SQL checks and RxJava streams; shows real apps' behaviors (Relay blocks, Sync toasts, Flamingo saves drafts) and a side project where the pattern works and survives config changes.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:49State management challenges
  3. 4:58Introducing PSST concept
  4. 6:21Login screen example
  5. 11:37Reddit submission details
  6. 17:46Comment screen UX comparison
  7. 24:49Handling failed network calls
  8. 25:11Common persistence excuses
  9. 29:27PSST advantages recap
  10. 31:15Useful libraries and conclusion
~/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.