Aspsine / Aspsine/SwipeToLoadLayout

关于Recyclerview资源id使用相同时,fragment回掉onActivityResult会报错问题

Open
#109 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
441
PR merge metrics
No merged PRs in 30d

Description

Caused by: 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/swipe_target. Make sure other views do not use the same id.

我尝试更换了recyclerview的资源id,导致recyclerview没有数据,如果不使用刷新控件可以解决该问题。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.