{"id":20009216,"url":"https://github.com/samlss/intertwineloadingview","last_synced_at":"2025-10-04T02:25:17.686Z","repository":{"id":201738160,"uuid":"146707188","full_name":"samlss/IntertwineLoadingView","owner":"samlss","description":"➰A two intertwined balls loading view.","archived":false,"fork":false,"pushed_at":"2018-08-30T06:53:36.000Z","size":486,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-04T19:39:55.755Z","etag":null,"topics":["android","intertwine","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-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-30T06:43:13.000Z","updated_at":"2024-01-09T07:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b5544f1-df48-42fa-ba3e-0f49e6f6a6f5","html_url":"https://github.com/samlss/IntertwineLoadingView","commit_stats":null,"previous_names":["samlss/intertwineloadingview"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/samlss/IntertwineLoadingView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FIntertwineLoadingView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FIntertwineLoadingView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FIntertwineLoadingView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FIntertwineLoadingView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samlss","download_url":"https://codeload.github.com/samlss/IntertwineLoadingView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samlss%2FIntertwineLoadingView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254666,"owners_count":25956644,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","intertwine","loadingview"],"created_at":"2024-11-13T07:14:41.072Z","updated_at":"2025-10-04T02:25:17.671Z","avatar_url":"https://github.com/samlss.png","language":"Java","readme":"# IntertwineLoadingView\n两个交织的小球的loading view\n\n### [更多](https://github.com/samlss/FunnyViews)\n\n \u003cbr/\u003e\n\n[![Api reqeust](https://img.shields.io/badge/api-11+-green.svg)](https://github.com/samlss/IntertwineLoadingView)  [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/samlss/IntertwineLoadingView/blob/master/LICENSE) [![Blog](https://img.shields.io/badge/samlss-blog-orange.svg)](https://blog.csdn.net/Samlss)\n\n### 默认效果\n![gif1](https://github.com/samlss/IntertwineLoadingView/blob/master/screenshots/screenshot1.gif)\n\n### 自定义动画时间和颜色效果\n![gif2](https://github.com/samlss/IntertwineLoadingView/blob/master/screenshots/screenshot2.gif)\n\n### 使用\u003cbr\u003e\n在根目录的build.gradle添加这一句代码：\n```java\nallprojects {\n    repositories {\n        //...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n在app目录下的build.gradle添加依赖使用：\n```java\ndependencies {\n    implementation 'com.github.samlss:IntertwineLoadingView:1.0'\n}\n```\n\n\n布局中：\n```java\n  \u003ccom.iigo.library.IntertwineLoadingView\n            app:animDuration=\"1000\"\n            app:firstBallColor=\"@android:color/holo_red_dark\"\n            app:secondBallColor=\"@android:color/holo_orange_dark\"\n            android:layout_width=\"70dp\"\n            android:layout_height=\"70dp\"/\u003e\n\n```\n\n\u003cbr\u003e\n\n代码：\n```java\n  intertwineLoadingView.setDuration(1000); //设置动画时间\n  intertwineLoadingView.setFirstBallColor(Color.RED); //设置第一个球的颜色\n  intertwineLoadingView.setSecondBallColor(Color.YELLOW); //设置第二个球的颜色\n\n  intertwineLoadingView.start(); //开始动画\n  intertwineLoadingView.stop(); //停止动画\n  \n  intertwineLoadingView.pause(); //暂停动画\n  intertwineLoadingView.resume(); //恢复动画\n  intertwineLoadingView.release(); //在不需要使用该loading view时，可以调用该接口释放\n```\n\u003cbr\u003e\n\n属性说明：\n\n| 属性      |              说明              |\n| --------- | :-----------------------------------: |\n| firstBallColor | 第一个球的颜色 |\n| secondBallColor | 第二个球的颜色 |\n| animDuration | 设置动画时间 |\n\n\u003cbr\u003e\n\n\n\n## [LICENSE](https://github.com/samlss/IntertwineLoadingView/blob/master/LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fintertwineloadingview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamlss%2Fintertwineloadingview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamlss%2Fintertwineloadingview/lists"}