LuckSiege / LuckSiege/PictureSelector
选择图片没问题,选择视频时视频没有封面图、选中视频不回调
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?
#### 当前使用的版本是多少?
implementation 'io.github.lucksiege:pictureselector:v3.11.2'
```
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
```
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
```
```
华为mate20
private void slelectVideo() {
PictureSelector.create(getContext())
.openGallery(SelectMimeType.ofVideo())//全部.PictureMimeType.ofAll()、图片.ofImage()、视频.ofVideo()、音频.ofAudio()
.setMaxSelectNum(1)// 最大图片选择数量 int
.setImageSpanCount(3)// 每行显示个数 int
.setImageEngine(GlideEngine.createGlideEngine())
.setSelectionMode(SelectModeConfig.SINGLE)// 多选 or 单选 PictureConfig.MULTIPLE or PictureConfig.SINGLE
.forResult(new OnResultCallbackListener() {
@Override
public void onResult(ArrayList addMedialList) {
String path = addMedialList.get(0).getRealPath();
}
@Override
public void onCancel() {
}
});
}
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
Reproduce the shown selectVideo flow with PictureSelector v3.11.2 on a Huawei Mate20, comparing video selection with image selection. Investigate why video thumbnails lack cover images and why OnResultCallbackListener is not called; done when a selected video displays a cover and returns its LocalMedia result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100