~/talk

Android Puzzlers: Traps, Pitfalls and Corner Cases

Talkat Android Makers 2019 · on Wednesday, 2019-04-24· [android]

Slides show concrete surprises: Android layout inflation returns the parent when inflate(view, parent, attach=true) is used so inflate(parent, attach=true) returns parent rather than the child; padding precedence changes when RTL is enabled so start/end override other paddings; fragment detach only affects onCreateView/onDestroyView not attach/detach callbacks; NotificationChannel.delete merely marks and can revive the old channel so notification channel delete revives old ID; SharedPreferences.apply updates memory immediately; LinearLayout weight math can shrink a child to zero.

AI-written summary · about

  1. 0:00Introduction
  2. 7:33Inflation Result
  3. 14:27Activity Lifecycle
  4. 17:27Robo
  5. 21:58Fragment
  6. 24:28Notification Channel
  7. 28:31Shared Preferences
  8. 31:18Linear Layout
  9. 35:27Local Resolution
~/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.