{"id":21365931,"url":"https://github.com/seanghay/statusbar","last_synced_at":"2026-02-10T19:08:18.499Z","repository":{"id":41904753,"uuid":"228304401","full_name":"seanghay/statusbar","owner":"seanghay","description":":art: A small library for configuring status bar color in Fragment.","archived":false,"fork":false,"pushed_at":"2022-04-23T09:46:00.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-28T19:49:10.404Z","etag":null,"topics":["android","fragment","kotlin","navigation-component"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanghay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-16T04:45:08.000Z","updated_at":"2025-04-23T02:46:32.000Z","dependencies_parsed_at":"2022-08-11T20:50:14.340Z","dependency_job_id":null,"html_url":"https://github.com/seanghay/statusbar","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/seanghay/statusbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fstatusbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fstatusbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fstatusbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fstatusbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanghay","download_url":"https://codeload.github.com/seanghay/statusbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanghay%2Fstatusbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29313094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","fragment","kotlin","navigation-component"],"created_at":"2024-11-22T07:13:14.518Z","updated_at":"2026-02-10T19:08:18.477Z","avatar_url":"https://github.com/seanghay.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Status Bar\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n![Build Status](https://jitpack.io/v/seanghay/statusbar.svg)\n\nA small library for configuring status bar color in Fragment.\n\nIt can be useful in Navigation Component where we have only one Activity but many Fragments.\n\n#### Try it and give us feedback! :smiley:\n\n## Usage in Kotlin Only\n\n```kotlin\nclass MyFragment: Fragment() {\n    \n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        \n        // A simple extension\n        statusBar.color(Color.WHITE).light(true)\n    }\n}\n\n```\n\n## Usage in Java\n```java\npublic class MyFragment extends Fragment {\n    \n    @Override\n    public void onCreate(@Nullable Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n\t\n        StatusBar.with(this)\n\t\t.color(Color.WHITE)\n\t\t.light(true);\n    }\n}\n\n```\n\n\n## Installation\n\n1. Add JitPack\n```gradle\nallprojects {\n     repositories {\n\tmaven { url 'https://jitpack.io' }\n     }\n}\n\n```\n\n2. Add dependency\n```gradle\ndependencies {\n    implementation 'com.github.seanghay:statusbar:1.0.1'\n}\n```\n\n## License\nCopyright 2019 Seanghay Yath\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanghay%2Fstatusbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanghay%2Fstatusbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanghay%2Fstatusbar/lists"}