title: Data Binding broke after upgrade to Gradle 2.3
body: <p>After upgrading to Gradle 2.3. My project cannot compile. I'm having the log in the console</p>
  
  <p><code>incompatible types: ObservableInt cannot be converted to int</code></p>
  
  <p>Look at the generated file</p>
  
  <pre><code>android.databinding.ObservableInt viewModelLoadingVisibility;
  this.vLoading.getRoot().setVisibility(viewModelLoadingVisibility);
  </code></pre>
  
  <p>In <code>xml</code> file</p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
      android:id="@+id/rvProducts"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@android:color/white"
      android:visibility="@{viewModel.contentVisibility}"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"
  /&gt;
  </code></pre>
  
  <p>I tried in method in my binding class</p>
  
  <pre><code>@BindingAdapter("app:visibility")
  public static void setViewVisible(View view, ObservableInt visible) {
          int visibility = visible.get();
          view.setVisibility(visibility);
  }
  </code></pre>
  
  <p>and got log</p>
  
  <blockquote>
    <p>warning: Application namespace for attribute app:visibility will be ignored.</p>
  </blockquote>
  
  <pre><code>public static void setViewVisible(View view, ObservableInt visible) {
  </code></pre>
  
  <blockquote>
    <p>warning: Use of ObservableField and primitive cousins directly as method parameters is deprecated and support will be removed soon. Use the contents as parameters instead in method public static void setViewVisible(android.view.View,android.databinding.ObservableInt)</p>
  </blockquote>
  
  <pre><code>public static void setViewVisible(View view, ObservableInt visible) {
  </code></pre>
  
  <p>Anyone encounters this?</p>