~/talk

Firebase & Jetpack: Fits like a Glove

Talkat 360|AnDev 2018 · 2018-07-19..07-20· [android]
slides:none on file

Shows concrete glue code that wires Cloud Firestore and Realtime Database to Android Jetpack using LiveData & ViewModel plus a repository layer. Provides a working stock‑tracker sample and a GitHub repo that swaps backends, persists locally, and surfaces errors via a DataOrException wrapper. Demonstrates snapshot listeners, lifecycle‑scoped observers, WorkManager for background sync, Cloud Functions for server triggers, and notes query→RecyclerView inefficiency still being improved.

AI-written summary · about

  1. 0:00Start
  2. 4:47Handle stock price changes from a document in Firestore
  3. 7:24LiveData is aware of the Android Activity lifecycle
  4. 7:58Implement LiveData with Firestore document updates
  5. 9:41Two problems to resolve
  6. 11:40Implement a View Model that yields a LiveData
  7. 13:39Use View Model and Live Data in an activity
  8. 15:37What about errors?
  9. 16:50Lots more in the repo
~/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.