{"id":3665,"url":"https://github.com/percolate/caffeine","last_synced_at":"2025-04-06T06:09:16.512Z","repository":{"id":21334852,"uuid":"24651705","full_name":"percolate/caffeine","owner":"percolate","description":"Speed up your Android development","archived":false,"fork":false,"pushed_at":"2017-03-14T14:28:06.000Z","size":364,"stargazers_count":414,"open_issues_count":2,"forks_count":36,"subscribers_count":87,"default_branch":"master","last_synced_at":"2025-03-30T05:05:27.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/percolate.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-30T19:09:02.000Z","updated_at":"2024-09-01T04:31:14.000Z","dependencies_parsed_at":"2022-08-20T19:00:33.225Z","dependency_job_id":null,"html_url":"https://github.com/percolate/caffeine","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percolate%2Fcaffeine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percolate%2Fcaffeine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percolate%2Fcaffeine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percolate%2Fcaffeine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/percolate","download_url":"https://codeload.github.com/percolate/caffeine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441052,"owners_count":20939239,"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":[],"created_at":"2024-01-05T20:16:47.957Z","updated_at":"2025-04-06T06:09:16.486Z","avatar_url":"https://github.com/percolate.png","language":"Java","funding_links":[],"categories":["Utility","Libraries","Libs","库"],"sub_categories":["Other","\u003cA NAME=\"Utility\"\u003e\u003c/A\u003eUtility","[](https://github.com/JStumpp/awesome-android/blob/master/readme.md#other)其他"],"readme":"# Caffeine \n#### _Speed up your Android development!_\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Caffeine-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1055)\n[![Codacy](https://api.codacy.com/project/badge/Grade/7051075a25b548699c642b39f666580f)](https://www.codacy.com/app/brent/caffeine?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=percolate/caffeine\u0026amp;utm_campaign=Badge_Grade)\n[![JitPack](https://jitpack.io/v/percolate/caffeine.svg)](https://jitpack.io/#percolate/caffeine)\n\nA collection of utility classes that help make Android development faster (and safer!)\n\n\n## Examples\n\nNo more unsafe type casting scattered throughout your code:\n\n```java\nTextView x = ViewUtils.findViewById(this, R.id.my_text)\nImageView y = ViewUtils.findViewById(this, R.id.my_image)\nLinearLayout z = ViewUtils.findViewById(this, R.id.my_layout)\n```\n\nSome handy 1-liners:\n\n```java\nActivityUtils.launchActivity(this, SomeNewActivity.class);\nDialogUtils.quickDialog(this, \"Some awesome message\");\nToastUtils.quickToast(this, \"Some toast message\");\n```\n\n[And much more!](http://percolate.github.io/caffeine/javadoc/)\n\n\n## Adding to your application\n\nSimply add Caffeine as a gradle dependency.  Distribution is done through jitpack.io.\n\nSee https://jitpack.io/#percolate/caffeine for instructions\n\n[![](https://jitpack.io/v/percolate/caffeine.svg)](https://jitpack.io/#percolate/caffeine)\n\n\n## Running Tests\n\n`./gradlew clean test:connectedAndroidTest`\n\n\n## License\n\nOpen source.  Distributed under the BSD 3 license.  See [LICENSE.txt](https://github.com/percolate/caffeine/blob/master/LICENSE.txt) for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercolate%2Fcaffeine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpercolate%2Fcaffeine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercolate%2Fcaffeine/lists"}