~/talk

Codelab: Build an Android app with Firebase and Cloud Firestore

Talkat droidcon San Francisco 2017 · 2017-11-05..11-06· [databases, android]

Builds an Android restaurant app using Cloud Firestore and Firebase Authentication, with a provided FriendlyEats sample app. Code writes restaurants (add random items), queries the restaurants collection ordered by averageRating desc with a limit (50), uses a RecyclerView + Firebase UI adapter to render realtime snapshot changes, and updates averages with transactions for ratings stored in a ratings subcollection. Composite indexes are required for stacked filters; live demo falters but the code lab works when run.

AI-written summary · about

  1. 0:00Introduction and Firebase overview
  2. 4:10Setting up Firebase project
  3. 8:21Configuring Google services JSON
  4. 12:02Enabling Firebase authentication
  5. 14:27Creating Cloud Firestore database
  6. 16:12Initializing Firestore in app
  7. 21:56Querying and displaying data
  8. 27:57Advanced querying with filters
  9. 31:28Understanding subcollections
  10. 33:58Adding ratings with transactions
  11. 35:23Wrap-up and Q&A
~/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.