- Go to your "some_layout.xml"
- Click right -> Refactor -> Rename (or SHIFT + F6)
- Rename your layout to "some_layout2.xml" for example
- Rename this file back to the original "some_layout.xml"
转载地址:http://stackoverflow.com/questions/34368329/data-binding-android-type-parameter-t-has-incompatible-u