~/talk

Jetpack Compose vs SwiftUI

Talkat Android Worldwide October 2021 · on Thursday, 2021-10-28· [android]
speakerdeck:heyitsmohit
slides:none on file

Builds a small image app with a grid, search and a detail view with a favorite toggle and shows both frameworks actually working. On Compose uses MVVM with immutable StateFlow bridged via collectAsState, a LazyVerticalGrid, Coil’s rememberImagePainter, side effects via launchEffect, eager updates with mutableStateOf and route‑based navHost navigation. On SwiftUI uses ObservableObject with @Published, async/await tasks, @StateObject and two‑way binding with $, built‑in searchable and LazyVGrid and NavigationLink. Navigation and Xcode previews feel easier, Compose requires emulator for full navigation testing.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Overview
  3. 2:40Compose
  4. 8:56Search
  5. 15:09UI State
  6. 15:32Like Image
  7. 18:46Navigation
  8. 20:28SwiftUI
  9. 22:57Bridge to Repository
  10. 25:14Lazy Grid
  11. 26:31Searching
  12. 29:02Toggle
  13. 30:55Nav
  14. 32:49Conclusion
~/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.