{"id":22986078,"url":"https://github.com/dora4/dview-alert-dialog","last_synced_at":"2025-12-26T00:32:49.595Z","repository":{"id":177197142,"uuid":"658021552","full_name":"dora4/dview-alert-dialog","owner":"dora4","description":"提示信息弹窗，能满足基本的需求","archived":false,"fork":false,"pushed_at":"2024-09-04T19:51:46.000Z","size":190,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-06T04:43:46.379Z","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}},"created_at":"2023-06-24T14:20:20.000Z","updated_at":"2024-09-04T19:51:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"f06f9b82-5428-4b28-a737-1210602e4e0b","html_url":"https://github.com/dora4/dview-alert-dialog","commit_stats":null,"previous_names":["dora4/dview-alert-dialog"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-alert-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-alert-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-alert-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-alert-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dora4","download_url":"https://codeload.github.com/dora4/dview-alert-dialog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229780079,"owners_count":18122916,"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-12-15T03:39:02.854Z","updated_at":"2025-12-26T00:32:49.590Z","avatar_url":"https://github.com/dora4.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"dview-alert-dialog\n![Release](https://jitpack.io/v/dora4/dview-alert-dialog.svg)\n--------------------------------\n![DORA视图 通告裁决者](https://github.com/user-attachments/assets/b591d3eb-29d2-4842-892d-37daac5a57d6)\n\n##### 卡名：Dora视图 AlertDialog \n###### 卡片类型：效果怪兽\n###### 属性：暗\n###### 星级：7\n###### 种族：魔法师族\n###### 攻击力/防御力：2100/2500\n###### 效果：此卡不会因为对方卡的效果而破坏，并可使其无效化。此卡攻击里侧守备表示的怪兽时，若攻击力高于其守备力，则给予对方此卡原攻击力的伤害，并抽一张卡。可以宣告一个种族或一个属性，只要此卡在场上存在，该种族或属性无法进行攻击宣言。\n\n#### Gradle依赖配置\n\n```kotlin\n// 添加以下代码到项目根目录下的build.gradle\nallprojects {\n    repositories {\n        maven { setUrl(\"https://jitpack.io\") }\n    }\n}\n// 添加以下代码到app模块的build.gradle\ndependencies {\n    implementation(\"com.github.dora4:dview-alert-dialog:1.34\")\n}\n```\n#### 使用控件\n```kotlin\nDoraAlertDialog.create(this).show(\"提示信息\") {\n            title(\"系统消息\")\n            themeColorResId(R.color.colorAccent)\n            positiveListener {\n                showShortToast(\"点击了确认按钮\")\n            }\n            negativeListener {\n                showShortToast(\"点击了取消按钮\")\n            }\n        }\n```\n\n#### 示例代码\n\nhttps://github.com/dora4/dora_samples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-alert-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdora4%2Fdview-alert-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-alert-dialog/lists"}