Reputation: 165
We have a app with Xamarin.Android and would like to work with Data Binding Library from Google. How can we integrate this library to Visual Studio? is it possible?
https://developer.android.com/tools/data-binding/guide.html
some year ago Felix ask for this Android Data Binding Library in Xamarin.Android
But only one answer suggest use MVVM libraries Xamarin.Forms-like, example MMVMLight Arguing data-binding is part of gradle not msbuild
https://stackoverflow.com/a/32281022/1669574
Upvotes: 1
Views: 506
Reputation: 2566
The biggest drawback for this library to work in xamarin android is that it is linked to the gradle compilation, Under the hood the data binding library generates several classes to update the interface at the time of changing the data.
For xamarin android the most recommended way is to use data binding is to use the native libraries for .net, for example MVVM Light, MVVM Cross, etc
Upvotes: 1