LuckSiege / LuckSiege/PictureSelector
java.lang.IndexOutOfBoundsException
Open
Nobody has claimed this yet.
- 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能否复现这问题?
未知,生产环境报错,会导致用户相册和输入法无法使用
Describe the problem or provide an error log?
描述问题或提供错误log?
Inconsistency detected. Invalid item position 60(offset:60).state:61 com.luck.picture.lib.widget.RecyclerPreloadView{105193d VFED..... ........ 0,242-1080,2268 #7f0906df app:id/recycler}, adapter:com.luck.picture.lib.adapter.PictureImageGridAdapter@f51f234, layout:androidx.recyclerview.widget.GridLayoutManager@c470328, context:com.luck.picture.lib.basic.PictureSelectorSupporterActivity@82acfe5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the reported failure through RecyclerPreloadView, PictureImageGridAdapter, GridLayoutManager, and PictureSelectorSupporterActivity in version 3.11.1. Determine whether the production-only invalid item position can be reproduced, then verify that the affected album and input-method flows no longer crash.
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
- 25/100