{"id":13639606,"url":"https://github.com/ishaan1995/ButtonProgressBar","last_synced_at":"2025-04-19T22:33:12.783Z","repository":{"id":54944358,"uuid":"86510427","full_name":"ishaan1995/ButtonProgressBar","owner":"ishaan1995","description":"A Download Button ProgressBar, inspiration from Dribbble","archived":false,"fork":false,"pushed_at":"2018-06-04T14:35:45.000Z","size":137,"stargazers_count":504,"open_issues_count":1,"forks_count":74,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-03T01:15:12.639Z","etag":null,"topics":["android-library","dribbble","progress-bar","ui"],"latest_commit_sha":null,"homepage":"","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/ishaan1995.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":"2017-03-28T21:49:13.000Z","updated_at":"2024-08-02T07:53:17.000Z","dependencies_parsed_at":"2022-08-14T07:10:46.845Z","dependency_job_id":null,"html_url":"https://github.com/ishaan1995/ButtonProgressBar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishaan1995%2FButtonProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishaan1995%2FButtonProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishaan1995%2FButtonProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ishaan1995%2FButtonProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ishaan1995","download_url":"https://codeload.github.com/ishaan1995/ButtonProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223810577,"owners_count":17206790,"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-library","dribbble","progress-bar","ui"],"created_at":"2024-08-02T01:01:02.543Z","updated_at":"2024-11-09T09:31:18.565Z","avatar_url":"https://github.com/ishaan1995.png","language":"Java","readme":"# ButtonProgressBar\n[![](https://jitpack.io/v/ishaan1995/ButtonProgressBar.svg)](https://jitpack.io/#ishaan1995/ButtonProgressBar)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ButtonProgressBar-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/5482)\n\n![](https://raw.githubusercontent.com/ishaan1995/ButtonProgressBar/master/output_F2Ryon.gif \"Concept Animation\")\n\n## To get this Git project into your build:\n#### 1.Add this in your root build.gradle at the end of repositories:\n\n```\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url 'https://jitpack.io' }\n\t}\n}\n```\n\n#### 2.Add this dependency in your app level build.gradle:\n```\ndependencies {\n  compile 'com.github.ishaan1995:ButtonProgressBar:1.0'\n}\n```\n\n## Usage:\n#### 1.In your layout XML file:\n```xml\n\u003cgithub.ishaan.buttonprogressbar.ButtonProgressBar\n        android:id=\"@+id/bpb_main\"\n        app:text=\"Upload\"\n        app:textColor=\"@android:color/white\"\n        app:type=\"indeterminate\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\" /\u003e\n```\n\n#### 2.In your class file:\n```java\nfinal ButtonProgressBar bar = (ButtonProgressBar) findViewById(R.id.bpb_main);\n        bar.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                bar.startLoader();\n                new Handler().postDelayed(new Runnable() {\n                    @Override\n                    public void run() {\n                        bar.stopLoader();\n                    }\n                }, 5000);\n            }\n        });\n```\n\nInspiration from [Dribbble](https://dribbble.com/shots/2551579-Download-Button)\n\n[iOS version](https://github.com/thePsguy/ButtonProgressBar-iOS) available!\n\nLicense\n=======\n\n    Copyright 2017 Ishaan Kakkar\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%2Fishaan1995%2FButtonProgressBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishaan1995%2FButtonProgressBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishaan1995%2FButtonProgressBar/lists"}