Open rajBopche opened 4 years ago
+1 @rajBopche you were able to get data binding running?
this is my problem too. there isn't respond yet?
What's the state of this issue? I got the issue too.
I create a bindingAdapter, and it works
@BindingAdapter(value = ["cpb_progress"])
@JvmStatic
fun setProgress(circularProgressBar: CircularProgressBar, process: Float?) {
circularProgressBar.setProgressWithAnimation(process ?: 0f, 1000)
}
For some reason, the build fails while using databindng feature with the progress bar.
I was using the binding variable to set the progress value on the progressbar. The code is as follows
Above
vm
is the binding variable andprogress
is a variable of typeFloat
I use databinding in my project heavily and every other databinding expression is working fine. Only when I try to use the binding with
CircularProgressBar
the build fails with a very generic errorBindingClassImpl symbol not found
(Thanks DataBinding it was very helpful -_- ).Can someone please guide what am I probably doing wrong?
Environment Specs: Dependency:implementation 'com.mikhaellopez:circularprogressbar:3.0.3' Android Studio: 3.5.2 Gradle Distribution: gradle-5.1.1-all.zip Mac Os: Catalina 10.15.5 Model: MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) Processor: 2.3 GHz Dual-Core Intel Core i5