~/talk

Firebase and Kotlin: Extensions, Coroutines and Flows

Talkat droidcon EMEA 2020 · 2020-10-08..10-09· [kotlin]
links:none on file
slides:none on file

Explains which Java SDK gaps Firebase KTX fills and shows concrete extensions like Firebase.database and snapshot.toObject<T> plus inline reified builders, destructuring helpers and lazy sequences. Demonstrates coroutine integration using kotlinx-coroutines-play-services await on Task to replace nested listeners, proposes using callbackFlow (experimental) for realtime events, and sketches a childrenFlow that emits sealed-class events so five ChildEventListener methods become a single flow collector; mentions type-safe builders and a Crashlytics pair-style helper.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 2:39What is Firebase KTX
  3. 4:06Kotlin extensions in Firebase
  4. 5:30Object declarations for Firebase
  5. 7:15Inline functions and memory
  6. 8:44Reified type parameters
  7. 9:47Type-safe builders
  8. 10:53Destructuring declarations
  9. 12:21Sequences in Kotlin
  10. 16:56Coroutines for Firebase
  11. 20:51Asynchronous flows
  12. 24:04Sealed classes for states
  13. 28:00Extras and resources
~/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.