~/talk

Applying Rx Best Practices to Your Architecture

Talkat AndroidTO 2018 · on Tuesday, 2018-11-06· [reactive-programming, frontend-architecture]
slides:none on file

Refactors a buggy profile flow into a single event→presenter→viewmodel pipeline using RxJava primitives so side effects live only at edges and business logic stays pure. Uses PublishSubject for view events, an ObservableTransformer (presenter) that flatMaps and uses scan to build immutable view models, and replay(1).autoConnect() so views can rebind after rotation. Result: removes repeated network/profile churn, enables instant optimistic updates, and makes the code much easier to test and review.

AI-written summary · about

  1. 0:00Introduction to Rx best practices
  2. 1:04Side effects in legacy code
  3. 6:30Refactoring with Rx streams
  4. 12:18Architecting with decoupled streams
  5. 18:23Handling configuration changes
  6. 21:40Adding new features cleanly
  7. 24:06Q&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.