title: android data binding <include> layout OnClick listener doesn't work
body: <p>I have a data binding layout that contains a frame layout with <code>&lt;include&gt;</code> of other layout inside:</p>
  
  <pre><code>&lt;FrameLayout
      android:id="@+id/global_actions_frame_layout"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="0.075"
      android:background="@color/colorToolBar"&gt;
      &lt;include
          android:id="@+id/included"
          layout="@layout/global_actions"&gt;
      &lt;/include&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>the layout has image buttons inside in this format:</p>
  
  <pre><code>&lt;ImageButton
      android:id="@+id/settingsButton"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:src="@drawable/ic_settings_black_36dp"
      android:layout_gravity="end"
      android:background="@color/colorToolBar"
      android:layout_margin="4dp"
      android:layout_marginLeft="20dp"
      android:onClick="@{listener::onClickState}"
  android:alpha="0.4"/&gt;
  </code></pre>
  
  <p>and I added the  tag around them and I added data with  name of activity</p>
  
  <pre><code> &lt;data&gt;
      &lt;import type="android.view.View"/&gt;
      &lt;variable name="listener" type="MyActivity"/&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>and in MyActivity I called a function to listen to On click from the image buttons:</p>
  
  <pre><code>public void onClickState(View view){
  int id = view.getId();
  }
  </code></pre>
  
  <p>but from some reason I don't get to this function when I click
   I tried also </p>
  
  <pre><code> android:onClick="@{listener.onClickState}"
  </code></pre>
  
  <p>but nothing helped.</p>