Data Binding with srcCompat
<p>I'm using the new vector drawable support in Support Lib v23.2 with app:srcCompat &amp; trying to set its drawable via data binding.</p>

<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="mediaPojo"
        type="in.ishaan.pika.data_binding.MediaPojo"/&gt;
&lt;/data&gt;

&lt;RelativeLayout
    android:background="@color/black"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;

    &lt;VideoView
        ... /&gt;

    &lt;ImageView
        ...
        app:srcCompat="@{mediaPojo.isPlaying ? @drawable/ic_pause_24dp : @drawable/ic_play_arrow_24dp}"
    /&gt;

    &lt;ProgressBar
        .../&gt;
&lt;/RelativeLayout&gt;
&lt;/layout&gt;
</code></pre>

<p>On trying to build, studio throws:</p>

<blockquote>
  <p>Error:(33, 30) Cannot find the setter for attribute 'app:srcCompat' with parameter type android.graphics.drawable.Drawable.</p>
</blockquote>