{"id":20009212,"url":"https://github.com/samlss/jumboloadingview","last_synced_at":"2025-09-09T13:34:25.456Z","repository":{"id":201738165,"uuid":"144129325","full_name":"samlss/JumboLoadingView","owner":"samlss","description":"🐥A loading(progress) view that you can select different shapes.","archived":false,"fork":false,"pushed_at":"2018-08-09T10:25:09.000Z","size":909,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T11:37:58.746Z","etag":null,"topics":["andoird","loadingview","progressview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samlss.png","metadata":{"files":{"readme":"README-ZH.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}},"created_at":"2018-08-09T09:15:44.000Z","updated_at":"2024-12-23T09:05:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e498aa3a-8ea3-4dd5-ae63-aa93fa136534","html_url":"https://github.com/samlss/JumboLoadingView","commit_stats":null,"previous_names":["samlss/jumboloadingview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FJumboLoadingView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FJumboLoadingView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FJumboLoadingView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FJumboLoadingView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samlss","download_url":"https://codeload.github.com/samlss/JumboLoadingView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252390667,"owners_count":21740361,"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":["andoird","loadingview","progressview"],"created_at":"2024-11-13T07:14:39.932Z","updated_at":"2025-05-04T19:35:50.670Z","avatar_url":"https://github.com/samlss.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JumboLoadingView\n### 一个可以选择形状并且可设置进度的loading view.\n\n[![Api reqeust](https://img.shields.io/badge/api-11+-green.svg)](https://github.com/samlss/JumboLoadingView)  [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/samlss/JumboLoadingView/blob/master/LICENSE) [![Blog](https://img.shields.io/badge/samlss-blog-orange.svg)](https://blog.csdn.net/Samlss)\n\n\n![screenshot_circle](https://github.com/samlss/JumboLoadingView/blob/master/screenshots/screenshot_circle.gif) \n![screenshot_square](https://github.com/samlss/JumboLoadingView/blob/master/screenshots/screenshot_square.gif) \n![screenshot_triangel](https://github.com/samlss/JumboLoadingView/blob/master/screenshots/screenshot_triangel.gif)\n![screenshot_star](https://github.com/samlss/JumboLoadingView/blob/master/screenshots/screenshot_star.gif)\n\n\n\n## 使用\u003cbr\u003e\n在根目录的build.gradle添加这一句代码：\n```\nallprojects {\n    repositories {\n        //...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n在app目录下的build.gradle添加依赖使用：\n```\ndependencies {\n    implementation 'com.github.samlss:JumboLoadingView:1.0'\n}\n```\n\n## 属性说明：\n\n| 属性        | 说明           |\n| ------------- |:-------------:|\n| circleColor      | 设置外圈圆的颜色 |\n| showProgress | 显示显示进度 |\n| progress | 当前进度大小(0-100) |\n| progressTextColor | 设置进度字体颜色 |\n| progressTextSize | 设置进度字体大小 |\n| shapeColor | 旋转的形状的颜色 |\n| shapeType | 旋转的形状的类型，例如circle圆圈，square正方形，triangle三角形，star星星|\n| shapeStyle | 旋转的形状的填充形式，stoke描边，fill整个图形都填充颜色 |\n| interpolator | 动画插值器 |\n\n### 插值器值interpolator: \u003cbr\u003e\n* AccelerateDecelerateInterpolator\n* AccelerateInterpolator\n* DecelerateInterpolator\n* BounceInterpolator\n* CycleInterpolator\n* LinearInterpolator\n* AnticipateOvershootInterpolator\n* AnticipateInterpolator\n* OvershootInterpolator\n\n\u003cbr/\u003e\n\n\n## 布局中使用：\n```\n  \u003ccom.iigo.library.JumboLoadingView\n            app:shapeType=\"star\"\n            app:showProgress=\"true\"\n            app:interpolator=\"OvershootInterpolator\"\n            app:progressTextColor=\"@color/colorPrimary\"\n            app:progressTextSize=\"18sp\"\n            android:layout_width=\"100dp\"\n            android:layout_height=\"100dp\"\n            android:layout_marginTop=\"20dp\"\n            app:circleColor=\"@color/colorPrimary\"\n            app:shapeColor=\"@color/colorPrimary\" /\u003e\n```\n\n## 代码中使用，以在Activity中使用为例：\n```\n   jumboLoadingView.start(); //开始动画\n   jumboLoadingView.stop(); //停止动画\n   jumboLoadingView.release(); //释放，一般在activity的destroy()调用\n   \n   jumboLoadingView.setCircleColor(Color.RED); //设置外圈圆的颜色\n   jumboLoadingView.setShapeColor(Color.RED); //设置形状颜色\n   jumboLoadingView.setProgressTextColor(Color.RED); //设置进度字体颜色\n   jumboLoadingView.setProgressTextSize(12); //设置进度字体大小\n   jumboLoadingView.setProgress(99); // 设置进度大小\n```\n\n\n## [LICENSE](https://github.com/samlss/JumboLoadingView/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fjumboloadingview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamlss%2Fjumboloadingview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fjumboloadingview/lists"}