~/talk

Data Binding -- Write Apps Faster

Talkat Android Dev Summit 2015 · on Monday, 2015-11-23· [android, frontend-architecture]
links:none on file
slides:none on file

Android Data Binding ties model objects to layout XML so generated binding classes replace findViewById calls, update views when observable properties change, and run the same code a developer would write because everything is resolved at compile time with no reflection at runtime. Custom BindingAdapters let image loaders like Picasso or Glide run off the UI thread and accept multiple attributes; instance adapters load via a DataBindingComponent useful for caching and tests. RecyclerView needs executePendingBindings to avoid double-layout and overall performance impact is claimed as negligible.

AI-written summary · about

  1. 0:00Intro
  2. 0:12Meet Bling
  3. 3:16Dynamic Layout
  4. 4:46Observable Properties
  5. 5:20Multiple Layouts
  6. 6:30Find View by ID
  7. 7:14Automatic Properties
  8. 8:11OnClick
  9. 9:40Layouts
  10. 10:51Compile Time
  11. 12:46ClickListener
  12. 13:54ImageView
  13. 15:45Placeholder
  14. 17:50Component Binding Adapter
  15. 18:47Best Practices
  16. 21:14Observable Convenience
  17. 22:42Font in Text
  18. 24:15Image Adapter
  19. 24:48Mock Image Adapter
  20. 25:24Test Questions
~/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.