~/talk

Beyond Exceptions: Building Resilient Android Apps with S…

Talkat DroidKaigi 2025 · 2025-09-10..09-12· [android, security]
slides:none on file

Handles offline-first POS complexity (hours or days offline, interprocess comms) by splitting failures into domain errors and program-logic failures, recommends nullability for simple domain cases and sealed hierarchies plus a custom Result monad for richer cases, warns against runCatching eating CancellationException, advocates assertions (NASA two assertions per function rule) and crashing fast to surface bugs, and shows native crash debugging using Firebase tombstone files on Android 12 to find native-reference-table overflows.

AI-written summary · about

  1. 0:00Introduction
  2. 2:52Kotlin error handling history
  3. 8:55Domain errors and limits
  4. 12:06Nullability for errors
  5. 14:33Problems with Result type
  6. 20:11Sealed hierarchies for errors
  7. 25:51Go error handling comparison
  8. 26:34Rich errors in Kotlin 2.4
  9. 29:04Program logic failures
  10. 33:42Crash reporting tools
  11. 36:53Summary
~/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.