{"id":28028897,"url":"https://github.com/itvincent-git/quartz-countdown","last_synced_at":"2026-05-19T03:12:50.075Z","repository":{"id":142298475,"uuid":"95641595","full_name":"itvincent-git/quartz-countdown","owner":"itvincent-git","description":"android countdown tools enhanced the framework countdown","archived":false,"fork":false,"pushed_at":"2019-03-20T08:48:50.000Z","size":129,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-20T00:12:33.398Z","etag":null,"topics":["android","countdown"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itvincent-git.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-28T07:28:52.000Z","updated_at":"2019-06-15T13:56:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"357645cb-246b-4fee-b669-0c7dbb923013","html_url":"https://github.com/itvincent-git/quartz-countdown","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/itvincent-git/quartz-countdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itvincent-git%2Fquartz-countdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itvincent-git%2Fquartz-countdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itvincent-git%2Fquartz-countdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itvincent-git%2Fquartz-countdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itvincent-git","download_url":"https://codeload.github.com/itvincent-git/quartz-countdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itvincent-git%2Fquartz-countdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33200213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","countdown"],"created_at":"2025-05-11T07:33:33.818Z","updated_at":"2026-05-19T03:12:50.037Z","avatar_url":"https://github.com/itvincent-git.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CountDownTimer 安卓精准倒计时器\nThan the system comes with CountDownTimer made the following enhancements:\n\n1. Support WeakReference the listener, to avoid memory leaks.\n2. Self-correction heartbeat error, there will not be more and more problems heartbeat interval, to avoid jumping seconds phenomenon.\n3. The release () method can release the strongly referenced listener.\n\n## Sample\n```\nprivate QuartzCountdown mCountdown;\n\npublic void startCountdown() {\n    mCountdown = new QuartzCountdown.QuartzCountdownBuilder()\n        .durationMs(60000).intervalMs(1000).listener(this, true).build();\n    mCountdown.start();//start count down\n}\n\n...\n\n\n@Override\npublic void onTic(QuartzCountdown quartzCountdown, long remainMs) {\n    //invoke every intervalMs\n    int remainSecond = Math.round(remainMs / 1000f)\n}\n\n@Override\npublic void onStopped(QuartzCountdown quartzCountdown) {\n    //invoke after durationMs or stop()\n}\n```\n\n## Step 1. Add the JitPack repository to your build file\nAdd it in your root build.gradle at the end of repositories:\n```\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n## Step 2. Add the dependency\n```\ndependencies {\n    compile 'com.github.itvincent-git:quartz-countdown:1.0.0'\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitvincent-git%2Fquartz-countdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitvincent-git%2Fquartz-countdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitvincent-git%2Fquartz-countdown/lists"}