{"id":20009163,"url":"https://github.com/samlss/pinballloadingview","last_synced_at":"2025-09-06T15:35:20.383Z","repository":{"id":201738186,"uuid":"141454065","full_name":"samlss/PinBallLoadingView","owner":"samlss","description":"🎈A pin ball loading view.","archived":false,"fork":false,"pushed_at":"2018-08-09T12:23:54.000Z","size":1043,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T14:32:04.103Z","etag":null,"topics":["android","loadingview"],"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.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-07-18T15:28:07.000Z","updated_at":"2019-03-29T11:05:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc7c95bf-fcc1-4988-b2db-ae4b524a5e7d","html_url":"https://github.com/samlss/PinBallLoadingView","commit_stats":null,"previous_names":["samlss/pinballloadingview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FPinBallLoadingView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FPinBallLoadingView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FPinBallLoadingView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FPinBallLoadingView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samlss","download_url":"https://codeload.github.com/samlss/PinBallLoadingView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447520,"owners_count":19964314,"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","loadingview"],"created_at":"2024-11-13T07:14:29.886Z","updated_at":"2025-03-02T01:41:23.683Z","avatar_url":"https://github.com/samlss.png","language":"Java","readme":"# PinBallLoadingView\nA pin ball loading view(一个弹球球loading view)。\n\n\n[![Api reqeust](https://img.shields.io/badge/api-1+-green.svg)](https://github.com/samlss/PinBallLoadingView)  [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/samlss/PinBallLoadingView/blob/master/LICENSE) [![Blog](https://img.shields.io/badge/samlss-blog-orange.svg)](https://blog.csdn.net/Samlss)\n\n\u003cbr\u003e\n\n  * [中文](#%E4%B8%AD%E6%96%87)\n  * [English](#english)\n  * [License](#license)\n\n\u003cbr\u003e\n\n![gif2](https://github.com/samlss/PinBallLoadingView/blob/master/screenshots/screenshot2.gif)\n\n![gif1](https://github.com/samlss/PinBallLoadingView/blob/master/screenshots/screenshot1.gif)\n\n\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:PinBallLoadingView:1.0'\n}\n```\n\n布局中使用：\n```\n\u003ccom.iigo.library.PinBallLoadingView\n                android:id=\"@+id/pblv_loading1\"\n                android:layout_width=\"100dp\"\n                android:layout_height=\"100dp\"\n                app:moving_circle_color=\"#ff669900\"\n                app:moving_speed_ratio=\"8.8\"\n                app:moving_circle_radius=\"20\"\n                app:outer_circle_stoke_color=\"#ffff8800\"\n                app:outer_circle_stoke_width=\"20\" /\u003e\n```\n\n\u003cbr\u003e\n\n代码中使用：\n```\n  pinBallLoadingView.start(); //开始动画\n  pinBallLoadingView.stop(); //结束动画\n  pinBallLoadingView.setMovingCircleColor(Color.parseColor(\"#ff669900\")); //设置可移动圆的颜色\n  pinBallLoadingView.setOuterCircleStrokeColor(Color.parseColor(\"#ffff8800\")); //设置外圆描边颜色\n```\n\n\u003cbr\u003e\n\n属性说明：\n\n| 属性        | 说明           |\n| ------------- |:-------------:|\n| moving_circle_radius      | 可移动小球的半径，默认为10 |\n| moving_circle_color | 可移动圆的颜色，默认为红色 |\n| moving_speed_ratio      | 速度比例，值越大移动越快，默认为5|\n| outer_circle_stoke_color      | 外圆描边颜色，默认为白色|\n| outer_circle_stoke_width      | 外圈的绘边大小，默认为5 |\n\n\u003cbr\u003e\n\n如果不能满足你的需要，你可以下载源码自行修改。\n\n## English\n\n### Use\u003cbr\u003e\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\nAdd it in your app build.gradle at the end of repositories:\n```\ndependencies {\n    implementation 'com.github.samlss:PinBallLoadingView:1.0'\n}\n```\n\n\nin layout.xml：\n```\n\u003ccom.iigo.library.PinBallLoadingView\n                android:id=\"@+id/pblv_loading1\"\n                android:layout_width=\"100dp\"\n                android:layout_height=\"100dp\"\n                app:moving_circle_color=\"#ff669900\"\n                app:moving_speed_ratio=\"8.8\"\n                app:moving_circle_radius=\"20\"\n                app:outer_circle_stoke_color=\"#ffff8800\"\n                app:outer_circle_stoke_width=\"20\" /\u003e\n```\n\n\u003cbr\u003e\n\nin java code：\n```\n  pinBallLoadingView.start(); //start animation\n  pinBallLoadingView.stop(); //stop animation\n  pinBallLoadingView.setMovingCircleColor(Color.parseColor(\"#ff669900\")); //set the color of the moving circle\n  pinBallLoadingView.setOuterCircleStrokeColor(Color.parseColor(\"#ffff8800\")); //set the stroke color of the outer circle\n```\n\n\u003cbr\u003e\n\nAttributes description：\n\n| attr        | description  |\n| ------------- |:-------------:|\n| moving_circle_radius      | the moving circle radius, the default is 10 |\n| moving_circle_color | The color of the moving circle, the default is red |\n| moving_speed_ratio      | speed ratio, the bigger the value, the faster the speed, the default is 5|\n| outer_circle_stoke_color      | The color of the outer circle stroke, the default is white|\n| outer_circle_stoke_width      | Outer circle width, the default is 5 |\n\nIf you can not meet your needs, you can download the source code to modify it.\n\n[id]: http://example.com/ \"Optional Title Here\"\n\n## [LICENSE](https://github.com/samlss/PinBallLoadingView/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fpinballloadingview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamlss%2Fpinballloadingview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fpinballloadingview/lists"}