1
には適用できない私は、この@BidingMethodは方法
@BindingMethod(type = InputView.class, attribute = "android:title", method = "setTitle")
ようBindingMethod
hereを使用していますが、それは
どのように私はBindingMethod
を使用することができ、エラーを示して?
には適用できない私は、この@BidingMethodは方法
@BindingMethod(type = InputView.class, attribute = "android:title", method = "setTitle")
ようBindingMethod
hereを使用していますが、それは
どのように私はBindingMethod
を使用することができ、エラーを示して?
この問題は、@ BindingMethodをクラス内に配置したときに発生しました。
クラスの上に置きます。
@BindingMethods({
@BindingMethod(type = InputView.class, attribute = "app:title", method = "setTitle")
})
public class InputView extends LinearLayout {
...
}