~/talk

For optimists, our UI is pretty pessimistic

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [frontend-architecture]
name:Joe Birch
links:none on file
slides:none on file

Claim: replace blocking progress dialogs with optimistic UI that immediately updates a local database and moves network work to background jobs. Implementation details: use IntentService (or JobScheduler for smarter batching and network conditions), insert the new item into the DB and update adapters before the server responds, mark cards as failed and surface errors with snackbars, notifications or badges. Surprising anchors: humans expect feedback within ~100 ms, and many regions remain on slow networks (60–70% predicted on poor connections by 2022). ProgressDialog is deprecated in Android O.

AI-written summary · about

  1. 0:00Intro
  2. 0:57Talk Outline
  3. 3:55Optimistic UI
  4. 5:52Issues with pessimistic approach
  5. 10:15Failure to think Often a skipped stage in design & development thinking
  6. 13:07R.I.P Progress Dialog
  7. 14:50Intent Service Launch background service to perform a task
  8. 16:15Job Scheduler Schedule tasks based on given conditions
  9. 18:08Manipulate local data during request Manipulate data locally when a request takes place and have the ul reactively reflect this
  10. 24:31Notification Badges Awareness of errors outside of your app
  11. 26:47To conclude...
~/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.