~/talk

I Swapped RxJava for Coroutines. Why You Should Too

TalkinPortugueseat AndroidFest Campinas 2018 · 2018-10-19..10-20· [kotlin, concurrency]
links:none on file
slides:none on file

A practical report describing replacing RxJava with Kotlin coroutines: it shows using plain suspend functions, structured Jobs/Contexts, and Retrofit with a suspend adapter plus a small wrapper for background/context helpers and cancellation. It compares performance with a 200-network-call test, finding blocking coroutines about three times slower but suspend-based coroutines matching or outperforming RxJava when Retrofit uses a suspend-friendly adapter; notes coroutine library was beta and testing suspend functions required reflection workarounds.

AI-written summary · about

  1. 0:00Start
  2. 11:53Base Interactor
  3. 17:05RxJava Map
  4. 27:45Coroutines FlatMap
  5. 34:02Performance
  6. 36:07Suspend functions
~/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.