streem / pbandk

Kotlin Code Generator and Runtime for Protocol Buffers
MIT License
271 stars 37 forks source link

class NumberpickercustomlayoutBinding is public, should be declared in a file named NumberpickercustomlayoutBinding.java #254

Closed shauryaMalhotra27 closed 9 months ago

shauryaMalhotra27 commented 9 months ago

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.

Screenshot 2024-02-20 at 1 10 03 PM
garyp commented 9 months ago

Hi @shauryaMalhotra27. This doesn't seem related to pbandk at all. Can you provide some more details on why you think pbandk is causing this error?

shauryaMalhotra27 commented 9 months ago

Resolved