How to set click listener to LinearLayout using data binding

后端 未结 3 615
独厮守ぢ
独厮守ぢ 2021-02-15 12:39

I am currently trying to set a click listener to a LinearLayout view in the .xml layout file using data binding.

I have managed to get it to wo

3条回答
  •  北荒
    北荒 (楼主)
    2021-02-15 13:08

    If Invalidate Cache does not work.

    then Rebuild project from Build>Rebuild. Fix errors if any then Rebuild again.

提交回复
热议问题