~/talk

Fueled Reactive apps with Asynchronous Flow

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

Migration plan for a Twitter search app shows a concrete path from RxJava to coroutines: convert network and DB calls to suspend functions, use Kotlin Flows to emit DB-first then network-refresh results (the demo emits twice), interoperate during migration with asObservable and scheduler.asCoroutineDispatcher, use channelFlow for view input and debounce, and expose UI via StateFlow to remove callbacks; supervisorJob + dispatchers replace disposables, a StateFlow handler bridges Java views, and the sample migration proves the approach works while keeping layers decoupled for gradual rollout.

AI-written summary · about

  1. 0:00Introduction
  2. 1:59Use case overview
  3. 2:41Migration strategy
  4. 7:56Basics of reactive streams
  5. 11:49Gradle dependencies setup
  6. 12:09Data sources design
  7. 14:40Repository design
  8. 19:53Pro approach with coroutines
  9. 23:04Use case implementation
  10. 26:56View delegate migration
  11. 30:48Synchronous communication
  12. 37:06Lessons learned
  13. 40:17Q&A session
~/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.