LuckSiege / LuckSiege/PictureSelector
相册选择器内图片大量重复显示。求助
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Current use version?
#### 当前使用的版本是多少?
```
3.10.8
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
```
Demo 没有问题
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
问题描述:
```
问题点是在打开的相册里。
1、我是将 selector lib 直接导入项目中使用;
2、小米9(MIUI12.5.6,Android11) 和 华为Mate60 pro(HarmonyOS 4.2.0)选择相册时,会出现重复图片。 我没有查到是哪里的问题,求大佬指点。
```
代码部分:
```
PictureSelector.create(getActivity())
.openGallery(SelectMimeType.ofImage())
.setImageEngine(GlideEngine.createGlideEngine())
.setMaxSelectNum(1)
.forResult(new OnResultCallbackListener() {
@Override
public void onResult(ArrayList result) {
mDialog.show();
for (LocalMedia media : result) {
//网络请求
uploadHeadImg(result.get(0).getRealPath());
}
}
@Override
public void onCancel() {
}
});
```
现状图片:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the PictureSelector.create(...) gallery setup shown in the issue and compare behavior in version 3.10.8 on the Xiaomi 9 and Huawei Mate60 Pro environments listed. Check whether the duplicate images can be reproduced outside the reporter's project, since the demo does not reproduce the problem. Done means identifying and documenting the cause or a confirmed reproduction path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100