~/talk

Rethinking UI: Imperative to Declarative

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

Modern UI shifts from imperative XML/storyboards to component functions: Jetpack Compose (alpha) plus SwiftUI and React let you declare UI from a state object, cut boilerplate, and use unidirectional data flow so components recompose when state changes. Frameworks perform diffs/partial updates (virtual DOM style) and offer a lazy list/recycler replacement rather than full redraws. Recommendation is to move screen state into view models now so migration is mostly swapping views; Compose targets stability within about a year.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:40Current imperative UI challenges
  3. 6:11What is declarative programming
  4. 7:33Declarative UI frameworks overview
  5. 10:12Problems with modern imperative UI
  6. 13:05Imperative vs declarative state handling
  7. 15:33Understanding state in declarative UI
  8. 17:21Unidirectional data flow explained
  9. 18:44State-driven UI composition
  10. 20:50Component tree updates in declarative UI
  11. 22:55Performance trade-offs and optimizations
  12. 25:27Preparing apps for Jetpack Compose
  13. 28:55Q&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.