{"id":22986063,"url":"https://github.com/dora4/dview-toggle-button","last_synced_at":"2025-08-13T20:32:53.172Z","repository":{"id":172307712,"uuid":"649120406","full_name":"dora4/dview-toggle-button","owner":"dora4","description":"一个更灵活拖拽的ToggleButton","archived":false,"fork":false,"pushed_at":"2025-05-13T20:41:24.000Z","size":97,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T21:44:25.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/dora4.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,"zenodo":null}},"created_at":"2023-06-03T21:01:34.000Z","updated_at":"2025-05-13T20:41:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ecdd8f0-e907-43dc-ac16-5d566a823607","html_url":"https://github.com/dora4/dview-toggle-button","commit_stats":null,"previous_names":["dora4/dview-toggle-button"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/dora4/dview-toggle-button","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-toggle-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-toggle-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-toggle-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-toggle-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dora4","download_url":"https://codeload.github.com/dora4/dview-toggle-button/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-toggle-button/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270305842,"owners_count":24562109,"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-08-13T02:00:09.904Z","response_time":66,"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":[],"created_at":"2024-12-15T03:38:56.435Z","updated_at":"2025-08-13T20:32:53.111Z","avatar_url":"https://github.com/dora4.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"dview-toggle-button\n![Release](https://jitpack.io/v/dora4/dview-toggle-button.svg)\n--------------------------------\n\n#### 卡片\n![DORA视图 二极守门人](https://github.com/user-attachments/assets/38916076-6e16-4836-bd74-a5d6e7b774ee)\n\n#### Gradle依赖配置\n\n```groovy\n// 添加以下代码到项目根目录下的build.gradle\nallprojects {\n    repositories {\n        maven { url \"https://jitpack.io\" }\n    }\n}\n// 添加以下代码到app模块的build.gradle\ndependencies {\n    def latest_version = '1.5'\n    implementation 'com.github.dora4:dview-toggle-button:$latest_version'\n}\n```\n#### 使用方式\n\n```xml\n   \u003cdora.widget.DoraToggleButton\n                android:id=\"@+id/tb_type_select\"\n                android:layout_width=\"41dp\"\n                android:layout_height=\"26dp\"\n                android:layout_alignParentEnd=\"true\"\n                android:layout_centerVertical=\"true\"\n                app:dview_checked=\"true\"\n                app:dview_uncheckColor=\"@color/light_gray\"\n                app:dview_backgroundColor=\"@color/light_gray\"\n                app:dview_checkedColor=\"@color/colorPrimary\"\n                app:dview_borderWidth=\"2dp\"\n                app:dview_showIndicator=\"false\" /\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-toggle-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdora4%2Fdview-toggle-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-toggle-button/lists"}