~/talk

Composing Magic with MVI and Kotlin StateFlow

Talkat 360|AnDev 2020 · on Friday, 2020-07-24· [android, kotlin]
links:none on file
slides:none on file

A sample app shows two composables (word list and add-word) that swap for navigation, using Room + Retrofit + Coil and Dagger Hilt for DI. MVI replaces MVVM with a hot Kotlin Channel for UI intents that is consumed as a Flow, a reducer that copies previous state into a new immutable state, and a MutableStateFlow that holds the current view state. Compose constraints move buttons for possible motion layouts, coroutines handle threading, and the repo and slides live on the 360/dev branch.

AI-written summary · about

  1. 0:00Introduction
  2. 3:53Review
  3. 9:14Source Code
  4. 13:43Kotlin Channels
  5. 19:09Kotlin Shared Flow
  6. 25:58Conclusion
~/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.