Android - DataBinding - How and when the Binding classes will be generated?

后端 未结 18 1735
小蘑菇
小蘑菇 2021-02-03 16:51

DataBinding Guide States

  By default, a Binding class will be generated based on the name of the layout 
file, converting it to Pascal case and suffixing “Bindi         


        
18条回答
  •  盖世英雄少女心
    2021-02-03 17:27

    Just a simple restart didn't work for me. I had to Invalidate Caches and Restart then I could see the binding classes. It's under the File menu for those who don't know.

提交回复
热议问题