LuckSiege / LuckSiege/PictureSelector
java.lang.IndexOutOfBoundsException
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Current use version?
#### 当前使用的版本是多少?
```
3.11.1
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
```
机型 :OPPO PBEM00 在生产环境产生的问题,测试机未复现
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
```
ava.lang.IndexOutOfBoundsException Inconsistency detected. Invalid item position 180(offset:180).state:181 com.luck.picture.lib.widget.RecyclerPreloadView{4847494 VFED..... ........ 0,219-1080,2076 #7f08064e app:id/recycler}, adapter:com.luck.picture.lib.adapter.PictureImageGridAdapter@99630f0, layout:androidx.recyclerview.widget.GridLayoutManager@17c2669, context:com.luck.picture.lib.basic.PictureSelectorSupporterActivity@8fc2747 at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6364)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by examining RecyclerPreloadView, PictureImageGridAdapter, and PictureSelectorSupporterActivity around the reported RecyclerView position error. Reproduce or trace the OPPO PBEM00 production conditions if possible, then verify any change against the reported invalid item position and adapter state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100