Open lee3do opened 6 years ago
同样的问题~
我的me.tatarka.bindingcollectionadapter.ItemView会报一个错误
****/ data binding error **** msg:Cannot find the setter for attribute 'app:itemView' with parameter type android.databinding.ObservableField<me.tatarka.bindingcollectionadapter.ItemView> on android.support.v4.view.ViewPager. file:E:\AndroidStudioWorkspace\User\app\src\main\res\layout\fragment_law_world.xml loc:63:32 - 63:44 ****\ data binding error ****
编译时候报错,怎么解决?
/Users/qwe/workspace/developer/MVVMLight/sample/src/main/java/com/kelin/mvvmlight/zhihu/news/NewsListFragment.java
/Users/qwe/workspace/developer/MVVMLight/sample/src/main/res/layout/activity_main.xml
Error:(50, 41) Cannot find the setter for attribute 'app:itemView' with parameter type me.tatarka.bindingcollectionadapter.ItemView on android.support.v4.view.ViewPager.
/Users/qwe/workspace/developer/MVVMLight/sample/src/main/res/layout/fragment_new_list.xml
Error:(42, 34) Cannot find the setter for attribute 'bind:itemView' with parameter type me.tatarka.bindingcollectionadapter.ItemViewSelector
同样问题,请问怎么解决?
Android studio 3.0运行报错: Error:(10, 35) 错误: 找不到符号 符号: 类 FragmentBrandGridBinding 位置: 程序包 io.itit.yixiang.databinding Error:(6, 27) 错误: 找不到符号 符号: 类 BR 位置: 程序包 com.kelin.mvvmlight
clean项目,File > Invalidate Caches/Restart,执行后均无效.
同一个项目在Android studio 2.3下,运行正常.