~/talk

Firebase and Android Jetpack: Fit Like a Glove

Talkat Android Summit 2018 · on Thursday, 2018-08-16· [android]
slides:none on file

A stock-tracker app demonstrates wiring Firestore and Realtime Database into Android Jetpack using concrete code: a custom Firestore document LiveData that adds/removes snapshot listeners on active/inactive, ViewModel that survives configuration changes and caches LiveData, a Repository interface, and a RecyclerView ListAdapter with DiffUtil to avoid jank. Background sync uses WorkManager + FCM topic sync to schedule per-ticker syncs, Cloud Functions as the backend, and Firebase client-side caching; the sample app and source code run and show live updates.

AI-written summary · about

  1. 0:00Introduction
  2. 3:31Firebase and Jetpack
  3. 5:19Firebase Store
  4. 9:00Live Data
  5. 11:13Life Cycle Changes
  6. 14:50Problems with Live Data
  7. 16:08ViewModel
  8. 20:30Architecture
  9. 24:07Dealing with Errors
  10. 25:47Querying
  11. 28:28Data Exception
  12. 30:00Type Alias
  13. 32:09Mediator Live Data
  14. 33:31RecyclerView List Adapter
  15. 34:47Item Callback
  16. 36:03Query Item
  17. 37:36Recycler View
  18. 38:15Live Query Results
  19. 39:51Background Sync
  20. 40:10Offline Data
  21. 41:16Data Sync
  22. 42:22Periodic Work
  23. 44:42Server Push
  24. 46:29Syncing the Ticker
  25. 48:54Summary
~/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.