title: Data Binding onClick not working
body: <p>I am getting started for using DataBinding and something is wrong with my onClick.</p>
  
  <p><strong>GameViewModel.java</strong></p>
  
  <pre><code>public void onClickItem(int row, int col){
      Log.d("click","row: "+row+" col: "+col);
  }
  @BindingAdapter("load_image")
  public static void loadImage(ImageView view,int imageId) {
      view.setImageResource(getDrawable(imageId));
  }
  </code></pre>
  
  <p><strong>GameFragment.java</strong></p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                           Bundle savedInstanceState) {
      //View view=inflater.inflate(R.layout.fragment_game, container, false);
      FragmentGameBinding binding = DataBindingUtil.inflate(inflater, R.layout.fragment_game, container, false);
      View view = binding.getRoot();
      ButterKnife.bind(this,view);
      binding.setGameViewModel(gameViewModel);
      gameViewModel= ViewModelProviders.of(getActivity()).get(GameViewModel.class);
      gameViewModel.init();
  return view;
  }
  </code></pre>
  
  <p><strong>fragment_game.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  
  tools:context=".view.GameFragment"&gt;
  
  &lt;data&gt;
       &lt;import type="android.support.v4.app.Fragment"/&gt;
      &lt;import type="android.view.View"/&gt;
  
      &lt;variable
          name="gameViewModel"
          type="harkor.addus.viewmodel.GameViewModel" /&gt;
  &lt;/data&gt;
  
  
  &lt;android.support.constraint.ConstraintLayout
     (...)&gt;
  
      &lt;TextView
          (...)&gt;
  
      &lt;android.support.constraint.ConstraintLayout
          (...)&gt;
  
          &lt;ImageView
              android:id="@+id/image_puzzle11"
              android:src="@android:color/holo_green_dark"
              android:layout_width="0dp"
              android:layout_height="0dp"
              android:layout_marginEnd="1dp"
              android:layout_marginRight="1dp"
              android:onClick="@{() -&gt; gameViewModel.onClickItem(1,1)}"
              app:load_image="@{0}"
              app:layout_constraintBottom_toTopOf="@+id/image_puzzle21"
              app:layout_constraintDimensionRatio="w,1:1"
              app:layout_constraintEnd_toStartOf="@+id/image_puzzle12"
              app:layout_constraintHorizontal_bias="0.5"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent" /&gt;
  (...)
  </code></pre>
  
  <p>load_image is working, but onClick do nothing...
  No error in compilation, no crash when button is clicking on device, no result in console...</p>