android Activity 的问题

java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.support.v7.widget.RecyclerView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/id_rv. Make sure other views do not use the same id.
很诡异的报错 说我用了同一个ID,但是当前activity A我并没有用这个id/rv,但是其他的有很多的activity 我用了这个id 但是报错 却在这个activityA中 求大神指点 应该怎么解决。。。

阅读 5.4k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题