~/talk

Lessons Learned Migrating the Maps SDK to Compose

Talkat droidcon Berlin 2022 · 2022-07-06..07-08· [frontend-architecture, android]
slides:none on file

Maps Compose is a Jetpack Compose interop layer that replaces tedious View-based glue by emitting map objects as composable nodes using subcomposition; it provides a Google Map composable plus child composables like marker that add/remove via Compose diffs, a cameraPositionState using standard CameraUpdate objects, coroutine-based animateCamera, and a guarded mapEffect escape hatch to access the underlying GoogleMap for utilities. Limitations: cameraPositionState is one-to-one with a Map and some map-only properties (mapId) are set once at creation.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:10Views vs Compose decision
  3. 3:18Maps SDK interop with Views
  4. 5:47Introducing Maps Compose library
  5. 7:52Lesson one: Think declaratively
  6. 13:53Lesson two: Reuse existing APIs
  7. 17:06Lesson three: Use Kotlin features
  8. 20:14Lesson four: Stay consistent
  9. 22:42Lesson five: Use Compose types
  10. 24:29Lesson six: Provide escape hatch
  11. 26:35Limitations of Maps Compose
  12. 28:42Summary and resources
~/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.