I have enabled data binding in my android studio project. Whenever i build my project it shows this error :
" error: class NumberpickercustomlayoutBinding is public, should be declared in a file named NumberpickercustomlayoutBinding.java
public final class NumberpickercustomlayoutBinding implements ViewBinding { "
It also gives me the path for the file but whenever i edit it according to the class name , it is regenerated again with the old name of the class and error is bing shown again.
I have enabled data binding in my android studio project. Whenever i build my project it shows this error :
" error: class NumberpickercustomlayoutBinding is public, should be declared in a file named NumberpickercustomlayoutBinding.java public final class NumberpickercustomlayoutBinding implements ViewBinding { "
It also gives me the path for the file but whenever i edit it according to the class name , it is regenerated again with the old name of the class and error is bing shown again.