~/talk

Composifying Your Not-Compose Code

Talkat DroidKaigi 2025 · 2025-09-10..09-12· [android, frontend-architecture]
name:Kikoso
links:none on file
slides:none on file

Shows how the Google Maps SDK is wrapped into a working Compose API by building android-maps-compose using the Android View composable, a bespoke map lifecycle state machine, and observers wired via localLifecycleOwner and DisposableEffect so mapView.onCreate/onResume/etc. are called correctly. It exposes declarative state holders like remember/savable cameraPositionState and marker composables, prevents leaks/crashes, and warns performance degrades when rendering thousands of markers.

AI-written summary · about

  1. 0:00Introduction
  2. 2:15World before Jetpack Compose
  3. 4:25Jetpack Compose rise
  4. 5:50Interoperability challenges
  5. 6:33AndroidView composable
  6. 9:08Lifecycle management
  7. 10:51DisposableEffect
  8. 11:59Composifying Google Maps SDK
  9. 16:41Map lifecycle state machine
  10. 20:15Declarative Compose API
  11. 23:29Camera position state
  12. 27:51User interactions
  13. 29:56API structure
  14. 32:03Markers declaratively
  15. 35:41Remember function
  16. 36:03Composifying checklist
  17. 37:29Performance optimizations
  18. 39:55Final thoughts
~/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.