skedgo / DateTimeRangePicker

A date time range picker for android written in Kotlin
MIT License
506 stars 76 forks source link

Databinding errors #20

Open shivaramki opened 6 years ago

shivaramki commented 6 years ago

Steps to recreate the error

malwinder-s commented 6 years ago

I got this error too. Is it possible to fix it?

freemanfx commented 6 years ago

I added this class and the error went away. However I ran into other problems I just gave up after serveral hours of trying

public class DatepickerBindingAdapter {

@BindingAdapter({"isDone"})
public static void setIsDone(Toolbar toolbar, ObservableBoolean isDone) {

}

@BindingAdapter({"isVisible"})
public static void setIsVisibleBoolean(TextView textView, boolean isVisible) {

}

@BindingAdapter({"isVisible"})
public static void setIsVisibleBooleanObs(LinearLayout source, ObservableBoolean isVisible) {

}

}