Cannot find the setter for attribute with parameter

前端 未结 7 2186
轮回少年
轮回少年 2020-12-18 18:52

I am working on DataBinding with BindingAdapter. Here is my custom method.

@BindingAdapter(\"{bind:fadevisible}\")
public static vo         


        
7条回答
  •  执笔经年
    2020-12-18 19:16

    Add on to the answers if you are working on multiple modules then where you have

     @BindingAdapter("fadevisible")
    

    That module should have the following code in the module -> build.gradle.

    dataBinding {
        enabled = true
    }
    

    Enjoy Happy coding. :)

提交回复
热议问题