~/talk

Go with the Flow

Talkat Android Summit 2020 · 2020-10-08..10-09· [android, reactive-programming]
slides:none on file

Kotlin Flow is built on coroutines and claims to be a cold, structured-concurrency implementation of Reactive Streams that interoperates with RxJava via official adapters and a custom rx01 artifact used at Clue. Examples show callbackFlow wrapping listener callbacks, stateFlow replaces ConflatedBroadcastChannel for state, channels used sparingly, and testing done with runBlocking and kotlinx-coroutines-test. Migration guidance includes evaluating options, adding foundation and tests, gradual API duplication, and a concrete migration path from RxJava 0/1 to Flow used in production though some features remain work in progress.

AI-written summary · about

  1. 0:00Intro
  2. 0:51Synchronous code
  3. 1:37With Coroutines
  4. 7:07What's special
  5. 9:18What is Flow?
  6. 15:23RxJava example
  7. 26:14Discuss with your team
  8. 28:26Setup foundation TT
  9. 30:01Expose common features as Flow
  10. 31:31Setup safeguards
  11. 35:59Terminology between Rx and Coroutine
  12. 38:24Conclusion
  13. 38:53Final thoughts
  14. 39:13Further 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.