~/talk

Data Binding in a Kotlin World

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [android, frontend-architecture]
slides:none on file

Data binding generates Java glue from XML so Kotlin code drops findViewById and manual setters, using KAPT and the dataBinding flag; a demo dog app shows binding a Dog model, generated binding.setDog, and two-way binding on EditText that updates the model automatically. The talk builds Kotlin delegates (a lazy delegate for binding, and a bindable property delegate) and demonstrates custom BindingAdapters, recycler‑view shared viewmodels, TransitionManager animations, and practical notes on Dagger, RxJava and LiveData integration.

AI-written summary · about

  1. 0:00Introduction to Data Binding
  2. 4:03Setting Up Data Binding
  3. 7:13Basic Data Binding Example
  4. 10:45Kotlin Delegates for Binding
  5. 14:15Custom Binding Adapters
  6. 16:41Avoiding Logic in XML
  7. 18:48Observable View Models
  8. 23:25Event Listeners in Data Binding
  9. 25:53When to Use Data Binding
  10. 28:47Animations and Transitions
  11. 30:54Data Binding with Other Frameworks
  12. 33:42Common Pitfalls and Errors
~/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.