As I saw the replies from the question(Error:Data Binding does not support Jack builds yet), the data binding is not yet support the JDK8 ( since it required JACK enabled in AS).
However, I saw the data binding usage from the official using the lambdas expression. (https://developer.android.com/topic/libraries/data-binding/index.html#listener_bindings)
Is there any way I can use data binding with JDK 8 since I started to test the App with databinding with API 24(required JDK 8)???
<LinearLayout android:layout_width="match_parent" android:layout_height="match_parent">
<Button android:layout_width="wrap_content" android:layout_height="wrap_content"
android:onClick="@{() -> presenter.onSaveClick(task)}" />
</LinearLayout>