LuckSiege / LuckSiege/PictureSelector

3.10.3版本会导致fragment中的fragment在主fragment hide后不走onHiddenChanged方法

Open
#2,413 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## Current use version?
#### 当前使用的版本是多少?

```
3.10.3
```

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

```
能复现
切换成3.0.9就会好
```

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

```


如布局文件所示fragment嵌套fragment,viewpage方式也一样
在主fragment通过hide show的方式切换到其他fragment时,子fragment在3.0.9版本下会走onHiddenChanged方法,但是3.10.3不会走任何相关的方法,而且影响是全局的
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the nested-fragment case from the reported RelativeLayout and MainFragment setup, switching child fragments with hide/show. Compare version 3.10.3 with 3.0.9 and trace whether the child fragment receives onHiddenChanged after the parent is hidden. Done means the child lifecycle callback behavior matches the expected result when the parent fragment is switched.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.