{"id":30790309,"url":"https://github.com/dora4/dview-bottombar","last_synced_at":"2025-10-07T20:09:17.801Z","repository":{"id":313160931,"uuid":"997807571","full_name":"dora4/dview-bottombar","owner":"dora4","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-04T09:38:56.000Z","size":71,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-04T09:39:17.778Z","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-07T08:17:50.000Z","updated_at":"2025-09-04T09:38:39.000Z","dependencies_parsed_at":"2025-09-04T09:39:19.704Z","dependency_job_id":"d6420db6-561a-418a-bbe4-cbc5fe81e7ae","html_url":"https://github.com/dora4/dview-bottombar","commit_stats":null,"previous_names":["dora4/dview-bottombar"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/dora4/dview-bottombar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottombar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottombar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottombar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottombar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dora4","download_url":"https://codeload.github.com/dora4/dview-bottombar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdview-bottombar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273768124,"owners_count":25164465,"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-09-05T02:00:09.113Z","response_time":402,"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":"2025-09-05T14:08:49.213Z","updated_at":"2025-10-07T20:09:12.766Z","avatar_url":"https://github.com/dora4.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"dview-bottombar\n![Release](https://jitpack.io/v/dora4/dview-bottombar.svg)\n--------------------------------\n\n#### 卡片\n![DORA视图 界面传送门](https://github.com/user-attachments/assets/4474df90-817e-48a5-9dfb-0efca43f68b8)\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-bottombar:1.0'\n}\n```\n\n#### 使用方式\n```xml\n\u003cresources\u003e\n    \u003carray name=\"tab_lottie_normal\"\u003e\n        \u003citem\u003e@raw/tab_one_normal\u003c/item\u003e\n        \u003citem\u003e@raw/tab_two_normal\u003c/item\u003e\n        \u003citem\u003e@raw/tab_three_normal\u003c/item\u003e\n        \u003citem\u003e@raw/tab_four_normal\u003c/item\u003e\n    \u003c/array\u003e\n    \u003carray name=\"tab_lottie_selected\"\u003e\n        \u003citem\u003e@raw/tab_one_selected\u003c/item\u003e\n        \u003citem\u003e@raw/tab_two_selected\u003c/item\u003e\n        \u003citem\u003e@raw/tab_three_selected\u003c/item\u003e\n        \u003citem\u003e@raw/tab_four_selected\u003c/item\u003e\n    \u003c/array\u003e\n    \u003cstring-array name=\"tab_titles\"\u003e\n        \u003citem\u003eTab1\u003c/item\u003e\n        \u003citem\u003eTab2\u003c/item\u003e\n        \u003citem\u003eTab3\u003c/item\u003e\n        \u003citem\u003eTab4\u003c/item\u003e\n    \u003c/string-array\u003e\n\u003c/resources\u003e\n```\n\n```xml\n\u003cdora.widget.DoraBottomBar\n    android:id=\"@+id/doraBottomBar\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"56dp\"\n    app:dview_bb_tabCount=\"4\"\n    app:dview_bb_lottieNormal=\"@array/tab_lottie_normal\"\n    app:dview_bb_lottieSelected=\"@array/tab_lottie_selected\"\n    app:dview_bb_tabTitles=\"@array/tab_titles\"\n    app:dview_bb_textColorNormal=\"#888888\"\n    app:dview_bb_textColorSelected=\"#FF0000\"\n    app:dview_bb_defaultIndex=\"0\" /\u003e\n```\n\n```kotlin\nbottomBar.setOnTabSelectedListener(object : DoraBottomBar.OnTabSelectedListener {\n    override fun onTabSelected(index: Int) {\n        when (index) {\n            0 -\u003e showTabOne()\n            1 -\u003e showTabTwo()\n            2 -\u003e showTabThree()\n            3 -\u003e showTabFour()\n        }\n    }\n})\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-bottombar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdora4%2Fdview-bottombar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdview-bottombar/lists"}