~/talk

Unidirectional Data Flow with...

Talkat droidcon Italy 2019 · 2019-04-04..04-05· [frontend-architecture, kotlin]
slides:none on file

Claims a concrete Unidirectional Data Flow implemented with Android Architecture Components and Kotlin Coroutines (Channels/Actors): a View → ViewModel → Store → Reducer pipeline that returns immutable view states via LiveData. Store runs in its own CoroutineScope on IO, dispatches states on Main, and uses Either to separate success vs failure streams, channels (produce/receive) for multi-step updates, and fold to test accumulated channel outputs. Implementation targets MixTiles app and reports improved testability and scalability.

AI-written summary · about

  1. 0:00Introduction
  2. 4:30User Actions
  3. 6:11View Model
  4. 7:54Initial State
  5. 8:37Threading
  6. 9:11Context
  7. 10:32ViewState
  8. 11:10Observe
  9. 11:47Reducer
  10. 12:21UI
  11. 12:45API
  12. 13:58Render Screen
  13. 14:28Action
  14. 14:56Loading State
  15. 15:21Navigation Events
  16. 16:56Failures
  17. 18:35Store
  18. 19:14MainView
  19. 19:56Live Data Object
  20. 20:44Data Class
  21. 21:44Render
  22. 22:17Failure
  23. 22:47Progress Bar
  24. 23:34Flow
  25. 24:33Channels
  26. 26:01Receiving Channel
  27. 26:24Sending Code
  28. 27:06Produce Stage
  29. 27:23Storage Changes
  30. 27:58Channel
  31. 28:42Testing
  32. 29:24Fault
  33. 30:19Exception
~/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.