Top "Android-databinding" questions

Data Binding Library to write declarative layouts and minimize the glue code necessary to bind your application logic and layouts.

Databinding variable inheritance with included layout

I am learning data binding and mvvm. I have an issue where I would like a BaseViewModel.kt to include …

android android-databinding android-include
DataBinding not working after Upgrade Android Studio 2.3

DataBinding worked very well in my project, But after upgrade Android Studio 2.3 today . Run 'app' failed because following error : Error:(15, 40) …

android android-studio data-binding android-databinding android-studio-2.3
Can not remove generated DataBinding code

I used DataBinding in one of my classes CardRecicleViewAdapterTech.class , but I imported a library which does not support DataBinding …

android android-studio android-databinding
Data binding generic variable

How to define a generic type of a data binding variable? The following code never compiles. <data> <…

android android-databinding
Cannot refer to other View ID in Android data binding

I just finished watching Advanced Data Binding - Google I/O 2016 and would like to apply the following to reduce …

android android-databinding
Problem with Databinding and MutableLiveData

NOVEMBER 2019 UPDATE - it is working as intended now on the latest version. ORIGINAL POST: I'm binding MutableLiveData to my …

android android-databinding android-livedata mutablelivedata android-binding-adapter
Android Databinding build fail after Gradle plugin update with migration to annotationProcessor

To support Instant Run in my version of Android Studio, I needed to upgrade my Gradle plugin from version 2.2.3 to 2.3.3 …

android android-studio android-gradle-plugin android-databinding android-build
How to update an object from the UI with Android Data Binding?

I am using Data Binding and I've created a very simple class public class ViewUser extends BaseObservable { private String name; @…

android data-binding bidirectional 2-way-object-databinding android-databinding
RecyclerView Databinding Item click

I am trying to listen for row clicks (item clicks) on my recycler view from the Activity itself (not from …

android android-recyclerview android-adapter android-databinding
DataBinding With Android Dialog

I have implemented DataBinding in Activity, Fragment and RecyclerView. Now trying to do it in Dialog, but little bit confuse …

android data-binding android-dialog android-databinding