因为它支持android中的数据绑定菜单?我写了这段代码,但是错误:"错误:(16,26)没有指定资源类型(在'visible'处,值为'@ {item.visible}')."
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<variable
name="item"
type="ru.dixy.ubiworkerchecklistsmobile.Models.Fact"/>
<import type="android.view.View"/>
</data>
<item
android:id="@+id/compliteitem"
android:title="mybutton"
android:icon="@drawable/complite"
android:visible="@{item.visible}"
app:showAsAction="ifRoom"
/>
</menu>
Run Code Online (Sandbox Code Playgroud) 由于23个sdk Android类被排除在外:
org.apache.http.auth.AuthScheme;
org.apache.http.auth.AuthSchemeFactory;
org.apache.http.impl.auth.NTLMScheme;
org.apache.http.impl.auth.NTLMEngine;
org.apache.http.impl.auth.NTLMEngineException;
Run Code Online (Sandbox Code Playgroud)
因为它现在在AD中被授权,通过改造登录和密码?OKHttpklient可以通过标题吗?