title: Cannot find the setter for attribute 'android:onClick' with parameter type lambda on android.widget.RelativeLayout
body: <pre><code>&lt;layout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
  &lt;data&gt;
      &lt;variable name="user"
          type="com.daimler.user.persistence.User"/&gt;
      &lt;variable name="callback"
          type="com.daimler.user.ui.UserClickCallback"/&gt;
  &lt;/data&gt;
  
  &lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:background="?attr/selectableItemBackground"
      android:clickable="true"
      android:paddingBottom="@dimen/row_padding"
      android:paddingLeft="@dimen/activity_margin"
      android:paddingRight="@dimen/activity_margin"
      android:paddingTop="@dimen/row_padding"
      android:onClick="@{() -&gt; callback.onUserClick(user)}"&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>public class UserClickCallback {
  
     public void onUserClick(User v) {
  
     }
  }
  </code></pre>
  
  <p>I wrote code like this, it looks okay but it shows error:</p>
  
  <blockquote>
    <p>Error:(36, 28) Cannot find the setter for attribute 'android:onClick'
    with parameter type lambda on android.widget.RelativeLayout.</p>
  </blockquote>
  
  <p>Anybody help ?</p>