{"id":22986065,"url":"https://github.com/dora4/dview-bottom-dialog","last_synced_at":"2025-08-13T20:32:53.203Z","repository":{"id":173549297,"uuid":"650917912","full_name":"dora4/dview-bottom-dialog","owner":"dora4","description":"底部弹窗","archived":false,"fork":false,"pushed_at":"2025-05-13T21:46:12.000Z","size":127,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-27T04:51:32.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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-08T05:10:28.000Z","updated_at":"2025-05-13T21:46:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b7b653e-f999-4099-a6e8-8a8ecadf5d61","html_url":"https://github.com/dora4/dview-bottom-dialog","commit_stats":null,"previous_names":["dora4/dview-bottom-dialog"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/dora4/dview-bottom-dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottom-dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottom-dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottom-dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottom-dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dora4","download_url":"https://codeload.github.com/dora4/dview-bottom-dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottom-dialog/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:57.578Z","updated_at":"2025-08-13T20:32:53.105Z","avatar_url":"https://github.com/dora4.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"dview-bottom-dialog\n![Release](https://jitpack.io/v/dora4/dview-bottom-dialog.svg)\n--------------------------------\n\n#### 卡片\n![DORA视图 底部召唤阵](https://github.com/user-attachments/assets/dcc72744-8f52-4649-9941-91fa2758d450)\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    implementation 'com.github.dora4:dview-bottom-dialog:1.13'\n}\n```\n\n#### 使用控件\n```kotlin\n// 打开底部弹窗\nval dialog = DoraBottomDialog()\ndialog.show(this, R.layout.dialog_content) {\n    // 在这里初始化你的内容数据\n}\n// 打开底部菜单弹窗\nval dialog = DoraBottomMenuDialog()\ndialog.setOnMenuClickListener(object : DoraBottomMenuDialog.OnMenuClickListener {\n    override fun onMenuClick(position: Int, menu: String) {\n        val intent = Intent(Intent.ACTION_VIEW)\n        intent.data = Uri.parse(url)\n        startActivity(intent)\n    }\n})\ndialog.show(this, arrayOf(\"外部浏览器打开\", \"刷新网页\"))\n```\n\n过时的底部弹窗。\n```kotlin\nval dialogWindow = DoraDialogWindow()\nDoraDialog.Builder(this)\n    .create(dialogWindow)\n    .show()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-bottom-dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdora4%2Fdview-bottom-dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-bottom-dialog/lists"}