callstack / callstack/react-native-pager-view
Expecting View State but received class androidx.recyclerview.widget.RecyclerView$SavedState instead
Open
android
bug
- Dominant language
- TypeScript
- Stars
- 3.4k
- Forks
- 476
- Avg merge
- 10d 21h
- Merged PRs (30d)
- 2
Description
## Environment

## Description
I think the app is crashing on start but its not easily replicable.
I believe the problem is happening because ViewPager inflate views and assign dynamically-generated ids to them. (ref: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-collection-release/viewpager2/src/main/java/androidx/viewpager2/widget/ViewPager2.java?source=post_page---------------------------#146)
Is there anything we can do to mitigate this crash?
Contributor guide
Assessment
This issue has not been assessed yet.