0
このバウンド属性がエラーで、ビルドに失敗している:アンドロイドのデータ:「セッターを見つけることができません」
は、属性のセッターを見つけることができません「ERRORTEXT」
@BindingAdapter({"errorText"})
public static void setErrorText(TextInputLayout view, String error) {
view.setError(error);
}
<android.support.design.widget.TextInputLayout
android:id="@+id/email_layout"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:errorEnabled="true"
app:errorText="@{data.usernameError}"
>
....
これがないのはなぜワーキング?
データバインドホラー – phonemyatt
おそらくこれを変更する必要がありますか? @BindingAdapter({"usernameError"}) – phonemyatt
xmlファイル全体をアップロードしてください。 –