{"id":18565088,"url":"https://github.com/jenly1314/guidepage","last_synced_at":"2025-04-10T04:32:25.698Z","repository":{"id":72501299,"uuid":"229911142","full_name":"jenly1314/GuidePage","owner":"jenly1314","description":":page_facing_up: GuidePage是一个App欢迎引导页库。一般应用于首次打开App时的场景，通过引导页指南，概述App特色等相关信息。（链式调用，一行代码搞定）","archived":false,"fork":false,"pushed_at":"2024-01-27T09:57:08.000Z","size":7777,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-27T12:10:27.256Z","etag":null,"topics":["guide","guide-page","guidepage","indicator","launch","page","splashpage","viewpager","viewpager2","welcome-page"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/jenly1314.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}},"created_at":"2019-12-24T09:18:17.000Z","updated_at":"2024-01-27T09:57:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c0e2251-5946-4a5d-8465-2c2dccf2f3bf","html_url":"https://github.com/jenly1314/GuidePage","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FGuidePage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FGuidePage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FGuidePage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenly1314%2FGuidePage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenly1314","download_url":"https://codeload.github.com/jenly1314/GuidePage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223424335,"owners_count":17142748,"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":["guide","guide-page","guidepage","indicator","launch","page","splashpage","viewpager","viewpager2","welcome-page"],"created_at":"2024-11-06T22:17:44.123Z","updated_at":"2024-11-06T22:17:44.875Z","avatar_url":"https://github.com/jenly1314.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GuidePage\n\n![Image](app/src/main/ic_launcher-web.png)\n\n[![Download](https://img.shields.io/badge/download-App-blue.svg)](https://raw.githubusercontent.com/jenly1314/GuidePage/master/app/release/app-release.apk)\n[![JCenter](https://img.shields.io/badge/JCenter-1.0.0-46C018.svg)](https://bintray.com/beta/#/jenly/maven/guidepage)\n[![JitPack](https://jitpack.io/v/jenly1314/GuidePage.svg)](https://jitpack.io/#jenly1314/GuidePage)\n[![CI](https://travis-ci.org/jenly1314/GuidePage.svg?branch=master)](https://travis-ci.org/jenly1314/GuidePage)\n[![CircleCI](https://circleci.com/gh/jenly1314/GuidePage.svg?style=svg)](https://circleci.com/gh/jenly1314/GuidePage)\n[![API](https://img.shields.io/badge/API-16%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=16)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/mit-license.php)\n\nGuidePage for Android 是一个App欢迎引导页。一般用于首次打开App时场景，通过引导页指南，概述App特色等相关信息\n\n## 功能介绍\n- [x] 链式调用，简单易用\n- [x] 自定义配置，满足各种需求\n\n\n## Gif 展示\n![Image](GIF.gif)\n\n\u003e 你也可以直接下载 [演示App](https://raw.githubusercontent.com/jenly1314/GuidePage/master/app/release/app-release.apk) 体验效果\n\n## 引入\n\n### Gradle:\n\n1. 在Project的 **build.gradle** 或 **setting.gradle** 中添加远程仓库\n\n    ```gradle\n    repositories {\n        //...\n        mavenCentral()\n        maven { url 'https://jitpack.io' }\n    }\n    ```\n\n2. 在Module的 **build.gradle** 里面添加引入依赖项\n\n    ```gradle\n    implementation 'com.github.jenly1314:GuidePage:1.0.0'\n    ```\n\n## 使用\n\n### 代码示例\n\n```Kotlin\n    //简单调用示例\n    GuidePage.load(intArrayOf(R.drawable.guide_page_1,R.drawable.guide_page_2,R.drawable.guide_page_3,R.drawable.guide_page_4))\n            .pageDoneDrawableResource(R.drawable.btn_done)\n            .start(this)//Activity or Fragment\n```\n\n```Kotlin\n      //Demo中的调用示例\n      GuidePage.load(intArrayOf(R.drawable.guide_page_1,R.drawable.guide_page_2,R.drawable.guide_page_3,R.drawable.guide_page_4))\n            .pageDoneDrawableResource(R.drawable.btn_done)\n//            .indicatorDrawableResource(R.drawable.indicator_radius)\n//            .indicatorSize(this,6f)//默认5dp\n            .showSkip(v.id == R.id.btn1)//是否显示“跳过”\n            .lastPageHideSkip(true)//最后一页是否隐藏“跳过”\n            .onGuidePageChangeCallback(object : GuidePage.OnGuidePageChangeCallback{//引导页改变回调接口\n\n                override fun onPageDone(skip: Boolean) {\n                    //TODO 当点击完成(立即体验)或者右上角的跳过时，触发此回调方法\n                    //这里可以执行您的逻辑，比如跳转到APP首页或者登陆页\n                    if(skip){\n                        Toast.makeText(this@MainActivity,\"跳过\",Toast.LENGTH_SHORT).show()\n                    }else{\n                        Toast.makeText(this@MainActivity,\"立即体验\",Toast.LENGTH_SHORT).show()\n                    }\n                }\n\n            })\n            .start(this)//Activity or Fragment\n\n```\n\n### 相关说明\n\n\u003e * 通过**GuidePage**链式调用，可以满足一些基本需求场景。\n\n\u003e * 当**GuidePage**中提供的配置无法满足需求时，可通过资源命名相同方式去自定义配置，即：资源覆盖方式。如**dimens**、**styles**等对应的资源。\n\n\n更多使用详情，请查看[app](app)中的源码使用示例或直接查看 [API帮助文档](https://jitpack.io/com/github/jenly1314/GuidePage/latest/javadoc/)\n\n## 版本记录\n\n#### v1.0.0：2019-12-24\n*  GuidePage初始版本\n\n## 赞赏\n如果您喜欢GuidePage，或感觉GuidePage帮助到了您，可以点右上角“Star”支持一下，您的支持就是我的动力，谢谢 :smiley:\n\u003cp\u003e您也可以扫描下面的二维码，请作者喝杯咖啡 :coffee:\n\n\u003cdiv\u003e\n   \u003cimg src=\"https://jenly1314.github.io/image/page/rewardcode.png\"\u003e\n\u003c/div\u003e\n\n## 关于我\n\n| 我的博客                                                                                | GitHub                                                                                  | Gitee                                                                                  | CSDN                                                                                 | 博客园                                                                            |\n|:------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------|\n| \u003ca title=\"我的博客\" href=\"https://jenly1314.github.io\" target=\"_blank\"\u003eJenly's Blog\u003c/a\u003e | \u003ca title=\"GitHub开源项目\" href=\"https://github.com/jenly1314\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e | \u003ca title=\"Gitee开源项目\" href=\"https://gitee.com/jenly1314\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e  | \u003ca title=\"CSDN博客\" href=\"http://blog.csdn.net/jenly121\" target=\"_blank\"\u003ejenly121\u003c/a\u003e  | \u003ca title=\"博客园\" href=\"https://www.cnblogs.com/jenly\" target=\"_blank\"\u003ejenly\u003c/a\u003e  |\n\n## 联系我\n\n| 微信公众号        | Gmail邮箱                                                                          | QQ邮箱                                                                              | QQ群                                                                                                                       | QQ群                                                                                                                       |\n|:-------------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------|\n| [Jenly666](http://weixin.qq.com/r/wzpWTuPEQL4-ract92-R) | \u003ca title=\"给我发邮件\" href=\"mailto:jenly1314@gmail.com\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e | \u003ca title=\"给我发邮件\" href=\"mailto:jenly1314@vip.qq.com\" target=\"_blank\"\u003ejenly1314\u003c/a\u003e | \u003ca title=\"点击加入QQ群\" href=\"https://qm.qq.com/cgi-bin/qm/qr?k=6_RukjAhwjAdDHEk2G7nph-o8fBFFzZz\" target=\"_blank\"\u003e20867961\u003c/a\u003e | \u003ca title=\"点击加入QQ群\" href=\"https://qm.qq.com/cgi-bin/qm/qr?k=Z9pobM8bzAW7tM_8xC31W8IcbIl0A-zT\" target=\"_blank\"\u003e64020761\u003c/a\u003e |\n\n\u003cdiv\u003e\n   \u003cimg src=\"https://jenly1314.github.io/image/page/footer.png\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenly1314%2Fguidepage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenly1314%2Fguidepage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenly1314%2Fguidepage/lists"}