Data Binding Android - Type parameter T has incompatible upper bounds : ViewDataBinding and MainAct

  1. Go to your "some_layout.xml"
  2. Click right -> Refactor -> Rename (or SHIFT + F6)
  3. Rename your layout to "some_layout2.xml" for example
  4. Rename this file back to the original "some_layout.xml"

转载地址:http://stackoverflow.com/questions/34368329/data-binding-android-type-parameter-t-has-incompatible-u

posted @ 2018-02-04 16:41  牧之丨  阅读(2132)  评论(0编辑  收藏  举报