android-signaturepad icon indicating copy to clipboard operation
android-signaturepad copied to clipboard

Why is android databinding enabled?

Open ghost opened this issue 8 years ago • 3 comments

Does android-signaturepad need databinding? Because databinding is enabled in gradle file.

ghost avatar Oct 16 '17 09:10 ghost

I personally have not looked into it, only found repo a few days ago. But if you want to build with progaurd you will need.

-dontwarn android.databinding.** -keep class android.databinding.** { *; }

Wayn0 avatar Oct 16 '17 09:10 Wayn0

Those proguard rules would be added by default in PR #106

scottschmitz avatar May 21 '18 14:05 scottschmitz

Yes it does, if you have a look at com.github.gcacace.signaturepad.utils.SignaturePadBindingAdapter, it uses various @BindingAdapter annotations. So I guess it is mandatory to include it.

I wonder if the library can run in an alternative way that gets rid of databinding

voghDev avatar Nov 22 '19 09:11 voghDev