Top "Android-databinding" questions

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

How to use data-binding with Fragment

I'm trying to follow data-binding example from official google doc https://developer.android.com/tools/data-binding/guide.html except that …

android android-fragments android-databinding
android: data binding error: cannot find symbol class

I am getting started for using DataBinding feature. I am facing problem with it. Error:(21, 9) error: cannot find symbol class …

android android-databinding
Can't resolve Android databinding class

While using data binding , I am not able to get class MainActivityBinding as per Data Binding Guide My layout name …

android data-binding android-databinding
Set drawable resource ID in android:src for ImageView using data binding in Android

I'm trying to set drawable resource ID to android:src of ImageView using data binding Here is my object: public …

android android-layout android-databinding
Use data binding to set View visibility

Trying to set visibility of View using custom variable, but error occurs: Identifiers must have user defined types from the …

android android-databinding
How do I use databinding to combine a string from resources with a dynamic variable in XML?

I have a TextView which has a hardcoded string and I have a dynamic variable that I want to put …

android android-databinding
How to set Image resource to ImageView using DataBinding

How can we use data binding in android to put image resource in an ImageView? <ImageView android:id="@+id/…

android xml android-databinding
Android Data Binding using include tag

Update note: The above example works properly, because release 1.0-rc4 fixed the issue of needing the unnecessary variable. Original question: …

java android data-binding android-button android-databinding
Data Binding class not generated

I am using Data Binding in my project, when using <layout> and <data> in my xml …

android data-binding android-databinding
Using DataBinding library for binding events

I'm trying to bind events with views in xml using DataBinding Library shipped with Android M. I'm following examples from …

android data-binding android-6.0-marshmallow android-databinding