androidandroid-studiogenerated-codeandroid-viewbinding

Where is ViewBinding GeneratedCode


How/Where Can I find the generated code for ViewBinding?

whenever I try control+click/control+b to see the declaration, AndroidStudio just opens the XML layout.


Solution

  • The generate binding classes reside in app > build > generated > data_binding_base_class_source_out > debug > your app package > databinding

    A you can see in the following screenshot all my ViewBinding classes for XML layout are inside the above path

    Screeen shot of generated classes path