~/talk

Descent Into Data Binding

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

Step-by-step demo shows how to enable the new Android data binding library, add enable dataBinding = true, wrap a layout to generate a ListItemCrimeBinding class, and replace manual view lookups with generated fields. It inspects generated code to diagnose delayed updates and fixes them with executePendingBindings. It explores binding adapters, lambda click wiring, and moving logic into an observable ViewModel for testable properties and proper rebind notifications, and notes two‑way binding and include-composition as deeper options.

AI-written summary · about

  1. 0:00Start
  2. 0:30Bill Phillips
  3. 5:38Enable Data Binding
  4. 11:25The Binding Mustache Operator
  5. 12:04Java Expressions
  6. 12:36Code Generation
  7. 14:17Step Zero Data Binding
  8. 18:45Setup Click Listeners
  9. 27:51A Null Coalescing Operator
  10. 32:57Binding Adapters
  11. 34:07Set Text Watcher Method
  12. 43:12Two-Way Data Binding
  13. 43:22Things To Remember
~/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.