ObservableField not propagating changes
<p>I'm trying the databinding feature for Android and it seems that the Observable fields do not propagate the change to the UI. </p>

<p>If I extend the <code>BaseObservable</code> class everything works as intended, however when I switch to <code>ObservableBoolean</code> or <code>ObservableField</code> the data changes but it's not being propagated to the UI.</p>

<p>the model</p>

<pre><code>public class User {
  public final ObservableBoolean tapped = new ObservableBoolean(false);

    public boolean isTapped() {
        return tapped.get();
    }

    public void setTapped(boolean tapped) {
        this.tapped.set(tapped);
    }
}
</code></pre>

<p>the layout</p>

<pre><code>&lt;layout 
    &lt;data&gt;
        &lt;variable
            name="user"
            type="User"/&gt;
          ....
    &lt;/data&gt;

    &lt;LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:background="@{user.tapped ? @color/colorAccent : @color/white}"
        android:onClick="@{() -&gt; user_holder.onClickTest(user)}"&gt;

        ......
    &lt;/LinearLayout&gt;
&lt;/layout&gt;
</code></pre>

<p>Any ideas?</p>