@Binding Android: View and Data Binding
summary
Compares Google’s Data Binding Library and Butter Knife with concrete results: an example app of eight activities reads a Marvel JSON of superheroes, binds fields, randomizes entries, and loads images with Picasso via a custom binding adapter so UI thread never blocks. Data binding generates layout-specific binding classes, supports observable fields, BaseObservable and observable collections, and integrates with RecyclerView view holders; Butter Knife remains a low-intrusion alternative for view lookup. Setup requires enabling data binding in Gradle and the presenter reports it as production-ready.
AI-written summary · about
chapters (27)
- 0:00Intro
- 1:26Data Binding
- 2:40Binding Android
- 3:52Example JSON
- 4:28Other Data Binding Libraries
- 9:56ViewOut Binding
- 10:35Google IO
- 10:49Setup
- 12:04Layout file
- 12:58Basic Data Binding
- 13:51Data Body
- 15:40Binding
- 18:52coalesce
- 19:21Imports
- 20:49Recent Resources
- 22:07Events
- 22:58Expression
- 23:32Images
- 23:58Binding adapters
- 26:21Observable objects
- 27:38Observable collection
- 28:50Basic observable example
- 30:20Observable fields
- 33:05Array Map
- 34:26Recycler View
- 34:47View Holder
- 37:25Butter Knife








