{"id":15111148,"url":"https://github.com/vrallev/app-context","last_synced_at":"2025-09-27T13:30:25.500Z","repository":{"id":57737898,"uuid":"70417943","full_name":"vRallev/app-context","owner":"vRallev","description":"A tiny utility library for Android to get the global app context without overriding the application class.","archived":true,"fork":false,"pushed_at":"2016-10-09T17:16:42.000Z","size":83,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-13T09:39:07.864Z","etag":null,"topics":["android","android-application","application-context","context"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/vRallev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-10-09T17:05:59.000Z","updated_at":"2023-01-28T14:07:28.000Z","dependencies_parsed_at":"2022-08-24T15:00:44.007Z","dependency_job_id":null,"html_url":"https://github.com/vRallev/app-context","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vRallev%2Fapp-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vRallev%2Fapp-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vRallev%2Fapp-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vRallev%2Fapp-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vRallev","download_url":"https://codeload.github.com/vRallev/app-context/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234438012,"owners_count":18832604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","android-application","application-context","context"],"created_at":"2024-09-26T00:01:52.574Z","updated_at":"2025-09-27T13:30:25.132Z","avatar_url":"https://github.com/vRallev.png","language":"Java","readme":"# App-Context\n\nA tiny utility library for Android to get the global app context without overriding the application class. This is especially helpful for Android library projects.\n\n## Download\n\nDownload [the latest version](http://search.maven.org/#search|gav|1|g:\"net.vrallev.android\"%20AND%20a:\"app-context\") or grab via Gradle:\n\n```groovy\ndependencies {\n    compile 'net.vrallev.android:app-context:1.0.0'\n}\n```\n\n## Usage\n\nUse `AppContext.get()` to get the global application context.\n\n```java\npublic class MyClass {\n\n    public void doSomething() {\n        Context context = AppContext.get();\n    }\n}\n```\n\n## License\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrallev%2Fapp-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrallev%2Fapp-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrallev%2Fapp-context/lists"}