LuckSiege / LuckSiege/PictureSelector

如果App本身由于后台程序需要,退回到前画面时如何自动关闭PictureSelector

Open
#2,922 0 comments 0 reactions 0 assignees View on GitHub

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?
#### 当前使用的版本是多少?

```
最新版
```

## Will this problem occur in demo?
#### Demo能否复现这问题?

```
没法试
```

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

PictureSelector.create(this).openGallery(SelectMimeType.ofImage())
.isDisplayCamera(false)
.setMaxSelectNum(1)
.setImageEngine(GlideEngine.createGlideEngine())
.forResult(object : OnResultCallbackListener {
.........

这之后如果App本身由于后台程序需要,退回到前画面时如何自动关闭PictureSelector
比如,PictureSelector打开后,由于长时间未操作,APP需要自动回到login(fragment/activity)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the PictureSelector.create(this).openGallery(...).forResult entry point shown in the report and trace how the selector is hosted across the Android activity or fragment lifecycle. Check the inactivity transition back to the login screen and determine the supported cleanup or dismissal behavior; done means the selector does not remain visible after that transition.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.