gyf-dev / gyf-dev/ImmersionBar
希望适配ViewPager2
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11.5k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
在ViewPager2中,setUserVisibleHint不会调用,所以没法在fragment中使用了。
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 reviewing the ViewPager2 and Fragment visibility lifecycle around setUserVisibleHint, since the issue reports that callback is not invoked there. Done means ImmersionBar can be used from fragments hosted by ViewPager2 without relying on that callback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100