{"id":13848144,"url":"https://github.com/liuhuibin/TaoBaoProgressBar","last_synced_at":"2025-07-12T11:33:36.040Z","repository":{"id":32483554,"uuid":"36063863","full_name":"liuhuibin/TaoBaoProgressBar","owner":"liuhuibin","description":"一个模仿淘宝秒杀商品页面的进度条","archived":false,"fork":false,"pushed_at":"2015-11-28T14:02:39.000Z","size":348,"stargazers_count":204,"open_issues_count":0,"forks_count":62,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-05T19:35:25.519Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liuhuibin.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}},"created_at":"2015-05-22T09:25:52.000Z","updated_at":"2024-06-15T04:11:19.000Z","dependencies_parsed_at":"2022-08-24T22:40:52.935Z","dependency_job_id":null,"html_url":"https://github.com/liuhuibin/TaoBaoProgressBar","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/liuhuibin%2FTaoBaoProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuibin%2FTaoBaoProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuibin%2FTaoBaoProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuhuibin%2FTaoBaoProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuhuibin","download_url":"https://codeload.github.com/liuhuibin/TaoBaoProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225820303,"owners_count":17529138,"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-08-04T19:00:43.150Z","updated_at":"2024-11-21T23:31:02.233Z","avatar_url":"https://github.com/liuhuibin.png","language":"Java","funding_links":[],"categories":["Libs","Java"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"#一个模仿淘宝秒杀商品页面的进度条\n\n##Feature\n有进度条加载动画\n\n###Snapshot\n![snapshot](https://github.com/liuhuibin/TaoBaoProgressBar/blob/master/.raw/snapshot3.gif)\n\n##Usage\n\n```XML\n\u003ccom.liuhb.taobaoprogressbar.com.liuhb.taobaoprogressbar.view.CustomProgressBar\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"30dp\"\n        app:progress=\"20\"\n        app:max=\"100\"\n        app:progressRadius=\"8dp\"\n        app:progressDesc=\"已售\"\n        app:isShowDesc=\"true\"/\u003e\n```\n\n###Advanced\n\n```Java\n        mProgressBar = (CustomProgressBar) findViewById(R.id.cpb_progresbar);\n        mProgressBar.setOnFinishedListener(new CustomProgressBar.OnFinishedListener() {\n                    @Override\n                    public void onFinish() {\n                        Toast.makeText(MainActivity.this,\"done!\",Toast.LENGTH_SHORT).show();\n                    }\n                });\n        mProgressBar.setOnAnimationEndListener(new CustomProgressBar.OnAnimationEndListener() {\n                    @Override\n                    public void onAnimationEnd() {\n                        Toast.makeText(MainActivity.this,\"animation end!\",Toast.LENGTH_SHORT).show();\n                    }\n                });\n        mProgressBar.setProgressDesc(\"剩余\");\n        mProgressBar.setMaxProgress(100);\n        mProgressBar.setProgressColor(Color.parseColor(\"#F6CB82\"));\n        mProgressBar2.setCurProgress(70,2000);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuhuibin%2FTaoBaoProgressBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuhuibin%2FTaoBaoProgressBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuhuibin%2FTaoBaoProgressBar/lists"}