MasteringAndroidDataBinding icon indicating copy to clipboard operation
MasteringAndroidDataBinding copied to clipboard

Use Data binding in library

Open patelakshay13890 opened this issue 9 years ago • 2 comments

Hey developers, How can I use data binding in my application because I am new to data binding concept ? I have an application module and one android lib. Module which has all the entites those are used in app module l.. So how can I use data binding in my app with lib. Module.. Which also include dynamic inflation of view based on parameter in some of the entities in library module 

patelakshay13890 avatar Jul 14 '16 19:07 patelakshay13890

Go through this demo and you will know how.

chowaikong avatar Jul 15 '16 00:07 chowaikong

I am not able to use BaseObservable class from Data binding library in my android library module although I can use @Bindable anonation in my entity's field but for that field I can't use notifyProperty() method also l.. So what could be the solution for that ?

patelakshay13890 avatar Jul 15 '16 12:07 patelakshay13890