Data Binding in a Kotlin world
summary
Shows how Android Data Binding plus Kotlin cuts a typical six findViewById/set calls to zero by generating a binding class, uses a lazy or lateinit/by lazy property delegate to hold that binding, supports two-way binding via @={...}, and adds reusable UI logic with BindingAdapter functions for image loading and custom attributes. Explains observable models with bindable delegates, partial UI updates via dirty flags, RecyclerView coordination, integration requirements (kapt, possible Gradle-console errors) and interoperability with RxJava, Dagger and Architecture Components.
AI-written summary · about
chapters (27)
- 0:00Introduction to talk
- 1:03What is data binding
- 4:21Setting up data binding
- 5:45Basic data binding example
- 8:56Kotlin tips for binding
- 10:23Custom view binding delegate
- 12:16Multiple variables in binding
- 14:03Custom binding adapters
- 17:20Resources and expressions
- 18:04Logic in view models
- 19:09Observable models
- 22:02Bindable property delegates
- 24:10Dependent properties
- 25:14Two-way data binding
- 27:02Event listeners
- 29:54When to use data binding
- 30:55Partial UI updates
- 31:41RecyclerView coordination
- 33:07View component encapsulation
- 34:11Animations with binding
- 35:35Shared element transitions
- 36:18Data binding with RxJava
- 37:47Integration with other tools
- 39:10Debugging errors
- 40:35Why not everyone uses it
- 41:20Future of data binding
- 42:02Q&A








