gyf-dev / gyf-dev/ImmersionBar

恢复状态栏

Open
#406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.5k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

建议添加一个恢复状态栏的api,例如我在某个地方需要对状态栏进行一些颜色之类的操作,然后在退出后需要恢复之前的状态栏颜色(颜色是未知的)

就像这样:

onStart {
    ImmersionBar.save()
}

onEnd {
    ImmersionBar.restore()
}

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 by reading the README and the existing ImmersionBar API surface to understand how status-bar settings are applied. Define the save/restore behavior described in the issue, including restoring an unknown prior color after the surrounding operation ends; the issue does not name a source file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.