~/talk

Activities in the Wild: Exploring the Activity Lifecycle

Talkat 360|AnDev 2016 · 2016-07-28..07-29· [android]
slides:none on file

Concrete rules about Android activities and when state actually lives are shown using a ticker app that loses its count on rotation unless state is stashed, and by reproducing a process kill when another app (Pokémon Go) consumes memory. The concrete claim is that transient UI state must go into a Bundle via savedInstanceState so onCreate can restore it because onDestroy is not guaranteed; onStop is the last guaranteed callback. Examples cover when to init/teardown resources, location sampling, and when to pause versus stop video playback.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54Activity Lifecycle
  3. 7:06Activity Lifecycle Examples
  4. 8:58Teardown Cycle
  5. 10:43Android
  6. 16:44Summary
  7. 20:11Saving Instance State
  8. 21:32Activity Record
  9. 24:25Activity Structure
  10. 27:40Examples
  11. 29:58Video Playback
  12. 31:20Capstone Challenge
~/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.