~/talk

Preferential practices for preferences

Talkat Android Dev Summit 2018 · 2018-11-07..11-08· [android, developer-experience]
links:none on file
slides:none on file

Shows how the AndroidX Preference library (back to API 14) replaces the framework version for a consistent Material theme and regular updates, and demonstrates building XML-based settings with PreferenceFragmentCompat plus fragment links for multi-screen flows. Highlights concrete features: Dynamic Summaries via SummaryProvider and the android:useSimpleSummaryProvider flag, SwitchPreferenceCompat dependencies that gray out controls, EditTextPreference dialogs, and persistence through SharedPreferences. The examples are runnable: summaries update and values persist as expected.

AI-written summary · about

  1. 0:00Intro
  2. 0:35What are preferences
  3. 1:01The two forms of preferences
  4. 1:56Shared preferences
  5. 2:32Hierarchy
  6. 3:03Activity
  7. 3:26Root
  8. 3:42Basic
  9. 4:15Switch
  10. 5:25Preference Categories
  11. 5:45Edit Text Preference
  12. 6:10Summary Preference
  13. 6:58Dependency
  14. 9:07Separate screens
  15. 9:53A hierarchy
  16. 10:13A final link
  17. 10:54Basic preferences
  18. 12:17Wrapup
~/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.