android: data binding error: cannot find symbol class

后端 未结 26 2988
生来不讨喜
生来不讨喜 2020-12-14 05:49

I am getting started for using DataBinding feature. I am facing problem with it.

Error:(21, 9) error: cannot find symbol class ContactL

26条回答
  •  伪装坚强ぢ
    2020-12-14 06:18

    Make sure the name for your model and the reference have the same name:

    For example, name="item" must match android:checked="@={item.checked}"

    
        
    
    
                
    

提交回复
热议问题