I am getting started for using DataBinding
feature. I am facing problem with it.
Error:(21, 9) error: cannot find symbol class ContactL
Actually it can be happend for various reason and for poor logging mechanism in data binding it is very hard to find the reason.So go got the proper error first go to the terminal and run the following command-
gradlew :app:build --stacktrace
It will show you the proper error with the number of line in XML where error is found.
For example -
ERROR: Could not find accessor com.example.model file://app\src\main\res\layout\fragment_example.xml Line:91