How bind Android DataBinding to Menu?
<p>As it supports Data Binding menu in android?
I write this code, but error: "Error:(16, 26) No resource type specified (at 'visible' with value '@{item.visible}')."</p>

<pre><code>&lt;menu 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="item"
        type="ru.dixy.ubiworkerchecklistsmobile.Models.Fact"/&gt;
    &lt;import type="android.view.View"/&gt;
&lt;/data&gt;
    &lt;item
        android:id="@+id/compliteitem"
        android:title="mybutton"
        android:icon="@drawable/complite"
        android:visible="@{item.visible}"
        app:showAsAction="ifRoom"
         /&gt;
&lt;/menu&gt;
</code></pre>