~/talk

Activities, Intents, Tasks, and the Back Stack

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [android]
links:none on file
slides:none on file

Shows runnable Kotlin snippets that start activities with explicit intents and implicit camera intents, uses Butter Knife for click wiring, and demonstrates combining flags with bitwise OR (even quoting the quirky 402000000 example) to trigger FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_MULTIPLE_TASKS. Explains task affinity, when activities move between tasks, how nav helpers like TaskStackBuilder and NavUtils behave, and how the ActivityManagerService (one of roughly 80 system services) actually orchestrates tasks and back stacks.

AI-written summary · about

  1. 0:00Welcome
  2. 0:42Activities purpose
  3. 3:08Intents for navigation
  4. 5:57Tasks and back stack
  5. 8:26Customizing tasks with flags
  6. 10:13Bitwise operations with flags
  7. 12:43Launch mode flags explained
  8. 15:15Launch modes in manifest
  9. 17:02Task affinities use cases
  10. 19:14Task reparenting
  11. 21:03Clearing back stack
  12. 23:13Navigation helpers
  13. 25:00Switching tasks
  14. 26:22Android task handling
  15. 29:51Fragments vs activities
  16. 32:41Further reading
  17. 34:03Q&A
~/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.