~/talk

The New Jetpack Register for Activity Result API

Talkat Android Worldwide July 2021 · 2021-07-27..07-28· [android]
links:none on file
slides:none on file

Android recommends replacing startActivityForResult with registerForActivityResult and custom ActivityResultContract implementations that declare input and output types and override two methods, letting results be delivered as typed data instead of raw intents. Prebuilt contracts handle permissions and photos. Tests inject an ActivityResultRegistry so tests run without launching another activity. Example app migrates code using activity and fragment KTX; migration reduces coupling and makes result handling and testing simpler.

AI-written summary · about

  1. 0:00Introduction
  2. 0:24Meet Madona
  3. 1:06What is it
  4. 1:50Why
  5. 4:07New API
  6. 4:20Streamfronto
  7. 5:56Register Contract
  8. 7:04Overload
  9. 8:00Summary
  10. 8:28Questions
~/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.