Absolutely I love to help you in whatever way I can. Please post the error that you see when compiling the AOSP module, so that I can get a clear idea.
If you are using Marshmallow version of AOSP (I'm assuming the release version: 6.0.0_r1),
Source of Data-binding library should present in here. It has a sample app that might give some idea.
Absolutely I love to help you in whatever way I can. Please post the error that you see when compiling the AOSP module, so that I can get a clear idea.
If you are using Marshmallow version of AOSP (I'm assuming the release version: 6.0.0_r1),
Please verify if you have either one. In my opinion, using the pre-built aar file would be simple to start with.
Hi,Subbu
As we know if compile app with android studio to support data-binding, we only need to add
in build.gralde.
But how to enable android data-binding in Android.mk if we want to compile app with AOSP? Thanks.
Hi,
What's the Android version you are using?
I’m not sure how much I can help as I haven’t done it before.
I believe DataBinding should be enabled from 'build.gradle' file. In Android.mk file, you should declare the dependencies.
Check it out this link:
androidxref.com/6.0.1_r10/xref/fra...
From my observation of this app,
It uses,
In Project level gradle file,
In App level gradle file,
By looking at the module definition of data-binding library,
androidxref.com/6.0.1_r10/xref/fra...
And something interesting I found from this SO question,
stackoverflow.com/questions/481139...
I would imagine, you might need to reference the libraries in your make file.
This is what we did in one of our apps to have appcompat support.
Similar to this there should be a way to add the DataBinding libraries as well.
Sorry It took long to respond.
HI Subbu,could you give me a demo about how to support databinding in AOSP.
Thanks very much