~/talk

Fear No Fragments

Talkat 360|AnDev 2018 · 2018-07-19..07-20· [android]
links:none on file
slides:none on file

Shows concrete fragmentation patterns: managing fragment transactions and the back stack, using child fragment managers to avoid confusing hierarchies, and preferring ViewModel for async state to avoid IllegalStateException. Demonstrates headless fragments for retained work and a pragmatic trick to persist a WebView by hide instead of replace so the hybrid World Cup app keeps its web app alive. Includes lifecycle checkpoints to check isAdded and examples of commit vs commitAllowingStateLoss.

AI-written summary · about

  1. 0:00Intro
  2. 0:44DEMO: WORLD CUP CATCH UP
  3. 3:27Goal For Today
  4. 3:423 Components
  5. 9:02Activity/Fragment Lifecycle
  6. 10:04First Lesson
  7. 11:14Navigation
  8. 12:54Example - Pressing Back
  9. 17:20Lesson #2
  10. 20:50Lesson #3
  11. 21:06Solutions?
  12. 25:42DialogFragment
  13. 27:11HeadlessFragment
~/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.