~/talk

Fragments: What are they good for.

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

Fragments claim to let you reuse UI components across Activities, ViewPagers and navigation drawers while hiding a hairy lifecycle; the details matter: use the support library fragments (updated ~three to four times a year) for child fragments and features, prefer FragmentStatePagerAdapter for memory-sensitive ViewPagers, show dialogs with show(fragmentManager, tag), and treat tablets with a master/detail layout. Practical limits and rules surface — max three fragments per activity (five for tabbed layouts), headless fragments do background work but are usually not worth the pain.

AI-written summary · about

  1. 0:00Start
  2. 13:59ID Example
  3. 20:53Pager Adapter
  4. 25:09Fragments
~/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.