{"id":13645412,"url":"https://github.com/dudu90/FreshDownloadView","last_synced_at":"2025-04-21T14:30:46.478Z","repository":{"id":217102673,"uuid":"70025058","full_name":"dudu90/FreshDownloadView","owner":"dudu90","description":"A download progressbar with cool animation","archived":false,"fork":false,"pushed_at":"2016-10-06T11:33:27.000Z","size":775,"stargazers_count":745,"open_issues_count":13,"forks_count":105,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-09T18:42:24.467Z","etag":null,"topics":[],"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/dudu90.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-05T02:44:03.000Z","updated_at":"2024-08-02T07:36:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5f48309-58ad-4827-b55e-0ffb9e20dd61","html_url":"https://github.com/dudu90/FreshDownloadView","commit_stats":null,"previous_names":["dudu90/freshdownloadview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudu90%2FFreshDownloadView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudu90%2FFreshDownloadView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudu90%2FFreshDownloadView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudu90%2FFreshDownloadView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dudu90","download_url":"https://codeload.github.com/dudu90/FreshDownloadView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250070173,"owners_count":21369839,"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-02T01:02:34.700Z","updated_at":"2025-04-21T14:30:46.461Z","avatar_url":"https://github.com/dudu90.png","language":"Java","readme":"# FreshDownloadView\n##About\nFreshDownloadView is a java library for Android，It's a good way to show download progress with a cool animtion.some inspiration are from\n[Dribbble](https://dribbble.com/shots/2939772--Daily-gif-Download)\n##Demo\n![](https://github.com/dudu90/FreshDownloadView/blob/master/screen/screen.gif)\n##Usage\n###Setp 1:Add it to your project:\n####gradle:\nadd my maven path\n```groovy\nrepositories {\n    maven {\n        url 'https://dl.bintray.com/dudu90/maven'\n    }\n}\n```\nthen add dependencies\n```groovy\n\tcompile 'com.pitt.fresh.library:freshdownloadview:1.0'\n```\n####maven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.pitt.fresh.library\u003c/groupId\u003e\n  \u003cartifactId\u003efreshdownloadview\u003c/artifactId\u003e\n  \u003cversion\u003e1.0\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\n###Setp 1:Add the View to your xml\n```xml\n\u003ccom.pitt.library.fresh.FreshDownloadView\n        android:id=\"@+id/pitt\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:background=\"#006cc7\" /\u003e\n```\n## XML attributes\n| Name | Type | Default | Description |\n|:----:|:----:|:-------:|:-----------:|\n|circular_radius|dimension|80dp|the circular's radius|\n|circular_color|color|#4c99d9|the base circular's color|\n|circular_progress_color|color|#ffffff|It's the circular's color when the circular show progress,and it is also text color when show progress,it's the symbol'√' and '×''s color|\n|circular_width|dimension|3.5dp|the circular width(not means the circular's radius)|\n|progress_text_size|dimension|50sp|the text's size when show progress|\n##In java\n```java\nfreshDownloadView.upDateProgress(float progress);\nfreshDownloadView.upDateProgress(int progress);\n```\nmeans update the progress\n```java\nfreshDownloadView.reset();\n```\nthis Method will reset all status;\n```java\nfreshDownloadView.showDownloadError();\n```\nthis Method will show error status,if this download error,you can allocate it;\n##About me\n[Weibo](http://weibo.com/5851968288)\nGmail:fengshengq@gmail.com\nLicense\n-------\n\n    Copyright 2016 Pitt\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.","funding_links":[],"categories":["DownloadView","Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudu90%2FFreshDownloadView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdudu90%2FFreshDownloadView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudu90%2FFreshDownloadView/lists"}