I couldn’t find my
ViewBinding files until it dawned on me that the bindings were taking their names from the
XML files (“fragment_home.xml”) and not from the class (“HomeFragment.kt”). So I couldn’t find them at
HomeFragmentBinding but I found them at
I found it helpful to think of each ViewBinding as a helper singleton that has been created as that XML file’s delegate.
(Edited to removed obsolete Gradle stuff)