I am getting started for using DataBinding feature. I am facing problem with it.
Error:(21, 9) error: cannot find symbol class ContactL
You must change your activity_contact_list to be binded - add layout tag as you did in content_contact_list. Don't forget, The root layout inside activity_contact_list must have an id for the Binding class to be generated and will be named ActivityContactListBinding (i.e. the name of the layout with camel casting instead of underscores).
Next, inside activity_contact_list, give an id, then you will have access for its binding instance through your ActivityContactListBinding instance.
Somthing like:
binding.contentContactList.setContact(user);
Let me know if it works.