报错 Cannot find a setter for <android.widget.TextView android:text> that accepts parameter type ‘?‘

在使用 dataBinding 的过程中,使用 ObservableList 或者 ObservableMap 类型的变量给 TextView 设置 text 时报错: Cannot find a setter for <android.widget.TextView android:text> that accepts parameter type '?' 声明如下图所示: 原因是声明 Obse
相关文章
相关标签/搜索