[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7181":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":15,"starSnapshotCount":15,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},7181,"AppIntro","AppIntro\u002FAppIntro","Make a cool intro for your Android app.","",null,"Kotlin",10571,1765,242,29,0,3,6,1,71.84,"Apache License 2.0",false,"main",[24,25,26,27,28,29],"appintro","custom-slides","hacktoberfest","material-design","slide","slide-policy","2026-06-12 04:00:32","# AppIntro\n\n[![](https:\u002F\u002Fjitpack.io\u002Fv\u002FAppIntro\u002FAppIntro.svg)](https:\u002F\u002Fjitpack.io\u002F#AppIntro\u002Fappintro) [![Join the chat at https:\u002F\u002Fkotlinlang.slack.com](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fslack-@kotlinlang\u002Fappintro-yellow.svg?logo=slack)](https:\u002F\u002Fkotlinlang.slack.com\u002Farchives\u002FC019SH1RMBN) [![Pre Merge Checks](https:\u002F\u002Fgithub.com\u002FAppIntro\u002FAppIntro\u002Fworkflows\u002FPre%20Merge%20Checks\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FAppIntro\u002FAppIntro\u002Factions?query=workflow%3A%22Pre+Merge+Checks%22) [![Awesome Kotlin Badge](https:\u002F\u002Fkotlin.link\u002Fawesome-kotlin.svg)](https:\u002F\u002Fgithub.com\u002FKotlinBy\u002Fawesome-kotlin)\n\nAppIntro is an Android Library that helps you build a **cool carousel intro** for your App. AppIntro has support for **requesting permissions** and helps you create a great onboarding experience in just a couple of minutes.\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Flogo\u002Flogo-cropped.png\" alt=\"appintro icon\" width=\"60%\"\u002F> \u003Cimg src=\"assets\u002Fappintro.gif\" alt=\"appintro sample\" width=\"30%\"\u002F>\n\u003C\u002Fp>\n   \n  * [Getting Started \u003Cg-emoji class=\"g-emoji\" alias=\"footprints\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f463.png\">👣\u003C\u002Fg-emoji>](#getting-started-)\n     * [Adding a dependency](#adding-a-dependency)\n     * [Basic usage](#basic-usage)\n     * [Java users](#java-users)\n  * [Migrating \u003Cg-emoji class=\"g-emoji\" alias=\"car\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f697.png\">🚗\u003C\u002Fg-emoji>](#migrating-)\n  * [Features \u003Cg-emoji class=\"g-emoji\" alias=\"toolbox\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f9f0.png\">🧰\u003C\u002Fg-emoji>](#features-)\n  * [Creating Slides \u003Cg-emoji class=\"g-emoji\" alias=\"woman_artist\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f469-1f3a8.png\">👩‍🎨\u003C\u002Fg-emoji>](#creating-slides-)\n     * [AppIntroFragment](#appintrofragment)\n     * [AppIntroCustomLayoutFragment](#appintrocustomlayoutfragment)\n  * [Configure \u003Cg-emoji class=\"g-emoji\" alias=\"art\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f3a8.png\">🎨\u003C\u002Fg-emoji>](#configure-)\n     * [Slide Transformer](#slide-transformer)\n        * [Custom Slide Transformer](#custom-slide-transformer)\n     * [Color Transition](#color-transition)\n     * [Multiple Windows Layout](#multiple-windows-layout)\n     * [Indicators](#indicators)\n     * [Vibration](#vibration)\n     * [Wizard Mode](#wizard-mode)\n     * [Immersive Mode](#immersive-mode)\n     * [System Back button](#system-back-button)\n     * [System UI (Status Bar and Navigation Bar)](#system-ui-status-bar-and-navigation-bar)\n     * [Bottom Bar Margin](#bottom-bar-margin)\n  * [Permission \u003Cg-emoji class=\"g-emoji\" alias=\"lock\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f512.png\">🔒\u003C\u002Fg-emoji>](#permission-)\n     * [Slide Policy](#slide-policy)\n  * [Example App \u003Cg-emoji class=\"g-emoji\" alias=\"bulb\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f4a1.png\">💡\u003C\u002Fg-emoji>](#example-app-)\n  * [Translating \u003Cg-emoji class=\"g-emoji\" alias=\"earth_africa\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f30d.png\">🌍\u003C\u002Fg-emoji>](#translating-)\n  * [Snapshots \u003Cg-emoji class=\"g-emoji\" alias=\"package\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f4e6.png\">📦\u003C\u002Fg-emoji>](#snapshots-)\n  * [Contributing \u003Cg-emoji class=\"g-emoji\" alias=\"handshake\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f91d.png\">🤝\u003C\u002Fg-emoji>](#contributing-)\n  * [Acknowledgments \u003Cg-emoji class=\"g-emoji\" alias=\"cherry_blossom\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f338.png\">🌸\u003C\u002Fg-emoji>](#acknowledgments-)\n     * [Maintainers](#maintainers)\n     * [Libraries](#libraries)\n  * [License \u003Cg-emoji class=\"g-emoji\" alias=\"page_facing_up\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f4c4.png\">📄\u003C\u002Fg-emoji>](#license-)\n  * [Apps using AppIntro \u003Cg-emoji class=\"g-emoji\" alias=\"iphone\" fallback-src=\"https:\u002F\u002Fgithub.githubassets.com\u002Fimages\u002Ficons\u002Femoji\u002Funicode\u002F1f4f1.png\">📱\u003C\u002Fg-emoji>](#apps-using-appintro-)\n\n\n## Getting Started 👣\n\nAppIntro is distributed through [JitPack](https:\u002F\u002Fjitpack.io\u002F#AppIntro\u002FAppIntro).\n\n### Adding a dependency\n\nTo use it you need to add the following gradle dependency to your `build.gradle` file of the module where you want to use AppIntro (NOT the root file).\n\n```groovy\nrepositories {\n    maven { url \"https:\u002F\u002Fjitpack.io\" }\n}\n```\n\n```groovy\ndependencies {\n    \u002F\u002F AndroidX Capable version\n    implementation 'com.github.AppIntro:AppIntro:6.3.1'\n    \n    \u002F\u002F *** OR ***\n    \n    \u002F\u002F Latest version compatible with the old Support Library\n    implementation 'com.github.AppIntro:AppIntro:4.2.3'\n}\n```\n\nPlease note that since AppIntro 5.x, the library supports [Android X](https:\u002F\u002Fdeveloper.android.com\u002Fjetpack\u002Fandroidx\u002F). If you haven't migrated yet, you probably want to use a previous version of the library that uses the **old Support Library** packages (or try [Jetifier Reverse mode](https:\u002F\u002Fncorti.com\u002Fblog\u002Fjetifier-reverse)).\n\n### Basic usage\n\nTo use AppIntro, you simply have to create a new **Activity that extends AppIntro** like the following:\n\n```kotlin\nclass MyCustomAppIntro : AppIntro() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        \u002F\u002F Make sure you don't call setContentView!\n\n        \u002F\u002F Call addSlide passing your Fragments.\n        \u002F\u002F You can use AppIntroFragment to use a pre-built fragment\n        addSlide(AppIntroFragment.createInstance(\n                title = \"Welcome...\",\n                description = \"This is the first slide of the example\"\n        ))\n        addSlide(AppIntroFragment.createInstance(\n                title = \"...Let's get started!\",\n                description = \"This is the last slide, I won't annoy you more :)\"\n        ))\n    }\n\n    override fun onSkipPressed(currentFragment: Fragment?) {\n        super.onSkipPressed(currentFragment)\n        \u002F\u002F Decide what to do when the user clicks on \"Skip\"\n        finish()\n    }\n\n    override fun onDonePressed(currentFragment: Fragment?) {\n        super.onDonePressed(currentFragment)\n        \u002F\u002F Decide what to do when the user clicks on \"Done\"\n        finish()\n    }\n}\n```\n\nPlease note that you **must NOT call** setContentView. The `AppIntro` superclass is taking care of it for you.\n\nAlso confirm that you're overriding `onCreate` with **a single parameter** (`Bundle`) and you're not using another override (like `onCreate(Bundle, PersistableBundle)`) instead.\n\nFinally, declare the activity in your Manifest like so:\n\n``` xml\n\u003Cactivity android:name=\"com.example.MyCustomAppIntro\"\n    android:label=\"My Custom AppIntro\" \u002F>\n```\n\nWe suggest to don't declare `MyCustomAppIntro` as your first Activity unless you want the intro to launch every time your app starts. Ideally you should show the AppIntro activity only once to the user, and you should hide it once completed (you can use a flag in the `SharedPreferences`).\n\n### Java users\n\nYou can find many examples in java language in the [examples directory](example\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fgithub\u002Fappintro\u002Fexample\u002Fui\u002Fjava\u002FJavaIntro.java)\n\n## Migrating 🚗\n\nIf you're migrating **from AppIntro v5.x to v6.x**, please expect multiple breaking changes. You can find documentation on how to update your code on this other [migration guide](\u002Fdocs\u002Fmigrating-from-5.0.md).\n\n## Features 🧰\n\nDon't forget to check the [changelog](CHANGELOG.md) to have a look at all the changes in the latest version of AppIntro.\n\n* **API >= 14** compatible.\n* 100% Kotlin Library.\n* **AndroidX** Compatible.\n* Support for **runtime permissions**.\n* Dependent only on AndroidX AppCompat\u002FAnnotations, ConstraintLayout and Kotlin JDK.\n* Full RTL support.\n\n## Creating Slides 👩‍🎨\n\nThe entry point to add a new slide is the `addSlide(fragment: Fragment)` function on the `AppIntro` class.\nYou can easily use it to add a new `Fragment` to the carousel.\n\nThe library comes with several util classes to help you create your Slide with just a couple lines:\n\n### `AppIntroFragment`\n\nYou can use the `AppIntroFragment` if you just want to customize title, description, image and colors.\nThat's the suggested approach if you want to create a quick intro:\n\n```kotlin\naddSlide(AppIntroFragment.createInstance(\n    title = \"The title of your slide\",\n    description = \"A description that will be shown on the bottom\",\n    imageDrawable = R.drawable.the_central_icon,\n    backgroundDrawable = R.drawable.the_background_image,\n    titleColorRes = R.color.yellow,\n    descriptionColorRes = R.color.red,\n    backgroundColorRes = R.color.blue,\n    titleTypefaceFontRes = R.font.opensans_regular,\n    descriptionTypefaceFontRes = R.font.opensans_regular,\n))\n```\n\nAll the parameters are optional, so you're free to customize your slide as you wish.\n\nIf you need to programmatically create several slides you can also use the `SliderPage` class.\nThis class can be passed to `AppIntroFragment.createInstance(sliderPage: SliderPage)` that will create\na new slide starting from that instance.\n\n### `AppIntroCustomLayoutFragment`\n\nIf you need further control on the customization of your slide, you can use the `AppIntroCustomLayoutFragment`.\nThis will allow you pass your custom Layout Resource file:\n\n```kotlin\nAppIntroCustomLayoutFragment.newInstance(R.layout.intro_custom_layout1)\n```\n\nThis allows you to achieve complex layout and include your custom logic in the Intro (see also [Slide Policy](#slide-policy)):\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fcustom-layout.png\" alt=\"appintro custom-layout\" width=\"30%\"\u002F>\n\u003C\u002Fp>\n\n## Configure 🎨\n\nAppIntro offers several configuration option to help you customize your onboarding experience.\n\n### Slide Transformer\n\nAppIntro comes with a set of _Slide Transformer_ that you can use out of the box to animate your Slide transition.\n\n| Slide Transformers | Slide Transformers |\n| :---: | :---: |\n| Fade\u003Cbr\u002F>\u003Cimg src=\"assets\u002Ffade.gif\" alt=\"fade\" width=\"50%\"\u002F> | Zoom\u003Cbr\u002F>\u003Cimg src=\"assets\u002Fzoom.gif\" alt=\"zoom\" width=\"50%\"\u002F> |\n| Flow\u003Cbr\u002F>\u003Cimg src=\"assets\u002Fflow.gif\" alt=\"flow\" width=\"50%\"\u002F> | Slide Over\u003Cbr\u002F>\u003Cimg src=\"assets\u002Fslideover.gif\" alt=\"slideover\" width=\"50%\"\u002F> |\n| Depth\u003Cbr\u002F>\u003Cimg src=\"assets\u002Fdepth.gif\" alt=\"depth\" width=\"50%\"\u002F> | Parallax\u003Cbr\u002F>\u003Cimg src=\"assets\u002Fparallax.gif\" alt=\"parallax\" width=\"50%\"\u002F> |\n\nYou can simply call `setTransformer()` and pass one of the subclass of the sealed class `AppIntroPageTransformerType`: \n\n```kotlin\nsetTransformer(AppIntroPageTransformerType.Fade)\nsetTransformer(AppIntroPageTransformerType.Zoom)\nsetTransformer(AppIntroPageTransformerType.Flow)\nsetTransformer(AppIntroPageTransformerType.SlideOver)\nsetTransformer(AppIntroPageTransformerType.Depth)\n\n\u002F\u002F You can customize your parallax parameters in the constructors. \nsetTransformer(AppIntroPageTransformerType.Parallax(\n                titleParallaxFactor = 1.0,\n                imageParallaxFactor = -1.0,\n                descriptionParallaxFactor = 2.0\n))\n```\n\n#### Custom Slide Transformer\n\nYou can also provide your custom Slide Transformer (implementing the `ViewPager.PageTransformer` interface) with:\n\n```kotlin\nsetCustomTransformer(ViewPager.PageTransformer)\n```\n\n### Color Transition\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fcolor-transition.gif\" alt=\"appintro sample\" width=\"30%\"\u002F>\n\u003C\u002Fp>\n\nAppIntro offers the possibility to animate the **color transition** between two slides background.\nThis feature is disabled by default, and you need to enable it on your AppIntro with:\n\n```kotlin\nisColorTransitionsEnabled = true\n```\n\nOnce you enable it, the color will be animated between slides with a gradient.\nMake sure you provide a `backgroundColor` parameter in your slides.\n\nIf you're providing custom Fragments, you can let them support the color transition by implementing\nthe `SlideBackgroundColorHolder` interface.\n\n### Multiple Windows Layout\n\nAppIntro is shipped with two top-level layouts that you can use.\nThe default layout (`AppIntro`) has textual buttons, while the alternative\nlayout has buttons with icons.\n\nTo change the Window layout, you can simply change your superclass to `AppIntro2`.\nThe methods to add and customize the AppIntro are unchanged.\n\n```kotlin\nclass MyCustomAppIntro : AppIntro2() {\n    \u002F\u002F Same code as displayed in the `Basic Usage` section of this README\n}\n```\n\n| Page | `AppIntro` | `AppIntro2` |\n| ---: | :--------: | :---------: |\n| standard page | \u003Cimg src=\"assets\u002Flayout1-start.png\" alt=\"layout1-start\" width=\"50%\"\u002F> | \u003Cimg src=\"assets\u002Flayout2-start.png\" alt=\"layout2-start\" width=\"50%\"\u002F> |\n| last page | \u003Cimg src=\"assets\u002Flayout1-end.png\" alt=\"layout1-end\" width=\"50%\"\u002F> | \u003Cimg src=\"assets\u002Flayout2-end.png\" alt=\"layout2-end\" width=\"50%\"\u002F> |\n\n### Indicators\n\nAppIntro supports two indicators out of the box to show the progress of the Intro experience to the user:\n\n* `DotIndicatorController` represented with a list of Dot (the default)\n* `ProgressIndicatorController` represented with a progress bar.\n\n| `DotIndicator` | `ProgressIndicator` |\n| ---------- | ----------- |\n| ![dotted indicator](assets\u002Fdotted-indicator.gif) | ![progress indicator](assets\u002Fprogress-indicator.gif) |\n\nMoreover, you can supply your own indicator by providing an implementation of the `IndicatorController` interface.\n\nYou can customize the indicator with the following API on the `AppIntro` class:\n\n```kotlin\n\u002F\u002F Toggle Indicator Visibility                \nisIndicatorEnabled = true\n\n\u002F\u002F Change Indicator Color \nsetIndicatorColor(\n    selectedIndicatorColor = getColor(R.color.red),\n    unselectedIndicatorColor = getColor(R.color.blue)\n)\n\n\u002F\u002F Switch from Dotted Indicator to Progress Indicator\nsetProgressIndicator()\n\n\u002F\u002F Supply your custom `IndicatorController` implementation\nindicatorController = MyCustomIndicator(\u002F* initialize me *\u002F)\n```\n\nIf you don't specify any customization, a `DotIndicatorController` will be shown.\n\n### Vibration\n\nAppIntro supports providing haptic _vibration_ feedback on button clicks. \nPlease note that you **need to specify the Vibration permission** in your app Manifest \n(the library is not doing it). If you forget to specify the permission, the app will experience a crash.\n\n```xml\n\u003Cuses-permission android:name=\"android.permission.VIBRATE\" \u002F>\n```\n\nYou can enable and customize the vibration with:\n\n```kotlin\n\u002F\u002F Enable vibration and set duration in ms\nisVibrate = true\nvibrateDuration = 50L\n```\n\n### Wizard Mode\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fwizard1.png\" alt=\"appintro wizard1\" width=\"30%\"\u002F> \u003Cimg src=\"assets\u002Fwizard2.png\" alt=\"appintro wizard2\" width=\"30%\"\u002F>\n\u003C\u002Fp>\n\nAppIntro supports a _Wizard_ mode where the Skip button will be replaced with the back arrow.\nThis comes handy if you're presenting a Wizard to your users with a set of steps they need to do,\nand they might frequently go back and forth.\n\nYou can enable it with:\n\n```kotlin\nisWizardMode = true\n```\n\n### Immersive Mode\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fimmersive1.png\" alt=\"appintro immersive1\" width=\"30%\"\u002F> \u003Cimg src=\"assets\u002Fimmersive2.png\" alt=\"appintro immersive2\" width=\"30%\"\u002F>\n\u003C\u002Fp>\n\nIf you want to display your Intro with a fullscreen experience, you can enable the _Immersive_ mode. This will\nhide both the _Status Bar_ and the _Navigation Bar_ and the user will have to scroll from the top of the screen to\nshow them again.\n\nThis allows you to have more space for your Intro content and graphics.\n\nYou can enable it with:\n\n```kotlin\nsetImmersiveMode()\n```\n\n### System Back button\n\nYou can lock the System Back button if you don't want your user to go back from intro.\nThis could be useful if you need to request permission and the Intro experience is not optional.\n\nIf this is the case, please set to true the following flag:\n\n```kotlin\nisSystemBackButtonLocked = true\n```\n\n### System UI (Status Bar and Navigation Bar)\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fsystem-ui.png\" alt=\"appintro system-ui\" width=\"40%\"\u002F>\n\u003C\u002Fp>\n\nYou can customize the _Status Bar_, and the _Navigation Bar_ visibility & color with the following methods:\n\n```kotlin\n\u002F\u002F Hide\u002FShow the status Bar\nshowStatusBar(true)\n\u002F\u002F Control the status bar color\nsetStatusBarColor(Color.GREEN)\nsetStatusBarColorRes(R.color.green)\n\n\u002F\u002F Control the navigation bar color\nsetNavBarColor(Color.RED)\nsetNavBarColorRes(R.color.red)\n``` \n\n### Bottom Bar Margin\n\nBy default, the slides use the whole size available in the screen, so it might happen that the\nbottom bar overlaps the content of the slide if you have set the background color to a\nnon-transparent one.\nIf you want to make sure that the bar doesn't overlap the content, use the `setBarMargin` function\nas follows:\n```kotlin\nsetBarMargin(true)\n```\n\n## Permission 🔒\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fpermissions.gif\" alt=\"appintro permissions\" width=\"40%\"\u002F>\n\u003C\u002Fp>\n\nAppIntro simplifies the process of requesting **runtime permissions** to your user.\nYou can integrate one or more permission request inside a slide with the `askForPermissions` method inside your activity.\n\nPlease note that:\n* `slideNumber` is in a **One-based numbering** (it starts from 1)\n* You can specify more than one permission if needed\n* You can specify if the permission is required. If so, users can't proceed if he denies the permission.\n\n```kotlin\n\u002F\u002F Ask for required CAMERA permission on the second slide. \naskForPermissions(\n    permissions = arrayOf(Manifest.permission.CAMERA),\n    slideNumber = 2, \n    required = true)\n\n\u002F\u002F Ask for both optional ACCESS_FINE_LOCATION and WRITE_EXTERNAL_STORAGE\n\u002F\u002F permission on the third slide.\naskForPermissions(\n    permissions = arrayOf(\n        Manifest.permission.ACCESS_FINE_LOCATION,\n        Manifest.permission.WRITE_EXTERNAL_STORAGE\n    ),\n    slideNumber = 3, \n    required = false)\n```\n\nShould you need further control on the permission request, you can override those two methods on the `AppIntro` class:\n\n```kotlin\noverride fun onUserDeniedPermission(permissionName: String) {\n    \u002F\u002F User pressed \"Deny\" on the permission dialog\n}\noverride fun onUserDisabledPermission(permissionName: String) {\n    \u002F\u002F User pressed \"Deny\" + \"Don't ask again\" on the permission dialog\n}\n```\n\n### Slide Policy\n\nIf you want to restrict navigation between your slides (i.e. the user has to toggle a checkbox in order to continue),\nthe `SlidePolicy` feature might help you.\n\nAll you have to do is implement `SlidePolicy` in your slides.\n\nThis interface contains the `isPolicyRespected` property and the `onUserIllegallyRequestedNextPage` method\nthat you must implement with your custom logic\n\n```kotlin\nclass MyFragment : Fragment(), SlidePolicy {\n    \n    \u002F\u002F If user should be allowed to leave this slide\n    override val isPolicyRespected: Boolean\n        get() = false \u002F\u002F Your custom logic here.\n\n    override fun onUserIllegallyRequestedNextPage() {\n        \u002F\u002F User illegally requested next slide.\n        \u002F\u002F Show a toast or an informative message to the user.\n    }\n}\n```\n\nYou can find a full working example of `SlidePolicy` in the [example app - CustomSlidePolicyFragment.kt](example\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fgithub\u002Fappintro\u002Fexample\u002Fui\u002Fcustom\u002Ffragments\u002FCustomSlidePolicyFragment.kt)\n\n## Example App 💡\n\nAppIntro comes with a **sample app** full of examples and use case that you can use as inspiration for your project. You can find it inside the [\u002Fexample folder](https:\u002F\u002Fgithub.com\u002FAppIntro\u002FAppIntro\u002Ftree\u002Fmain\u002Fexample).\n\nYou can get a **debug APK** of the sample app from the **Pre Merge** GitHub Actions job as an [output artifact here](https:\u002F\u002Fgithub.com\u002FAppIntro\u002FAppIntro\u002Factions?query=workflow%3A%22Pre+Merge+Checks%22).\n\n\u003Cp align=\"center\">\n    \u003Cimg src=\"assets\u002Fsample-app.png\" alt=\"appintro sample app\" width=\"40%\"\u002F>\n\u003C\u002Fp>\n\n## Translating 🌍\n\nDo you want to help AppIntro becoming international 🌍? We are more than happy!\nAppIntro currently supports [the following languages](appintro\u002Fsrc\u002Fmain\u002Fres).\n\nTo add a new translation just add a pull request with a new `strings.xml` file inside a `values-xx` folder (where `xx` is a [two-letter ISO 639-1 language code](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FISO_639-1)).\n\nIn order to provide the translation, your file needs to contain the following strings:\n\n```xml\n\u003C?xml version=\"1.0\" encoding=\"utf-8\"?>\n\u003Cresources xmlns:tools=\"http:\u002F\u002Fschemas.android.com\u002Ftools\">\n    \u003Cstring name=\"app_intro_skip_button\">[Translation for SKIP]\u003C\u002Fstring>\n    \u003Cstring name=\"app_intro_next_button\">[Translation for NEXT]\u003C\u002Fstring>\n    \u003Cstring name=\"app_intro_back_button\">[Translation for BACK]\u003C\u002Fstring>\n    \u003Cstring name=\"app_intro_done_button\">[Translation for DONE]\u003C\u002Fstring>\n    \u003Cstring name=\"app_intro_image_content_description\">[Translation for \"graphics\"]\u003C\u002Fstring>\n\u003C\u002Fresources>\n```\n\nAn updated version of the English version translation is [available here](appintro\u002Fsrc\u002Fmain\u002Fres\u002Fvalues\u002Fstrings.xml).\n\nIf a translation in your language is already available, please check it and eventually fix it (all the strings should be listed, not just a subset).\n\n## Snapshots 📦\n\nDevelopment of AppIntro happens on the [main](https:\u002F\u002Fgithub.com\u002FAppIntro\u002FAppIntro\u002Ftree\u002Fmain) branch. You can get `SNAPSHOT` versions directly from JitPack if needed.\n\n```gradle\nrepositories {\n    maven { url \"https:\u002F\u002Fjitpack.io\" }\n}\n```\n\n```gradle\ndependencies {\n  implementation \"com.github.AppIntro:AppIntro:main-SNAPSHOT\"\n}\n```\n\n⚠️ Please note that the latest snapshot might be **unstable**. Use it at your own risk ⚠️\n\n## Contributing 🤝\n\nWe're offering support for AppIntro on the [#appintro channel on KotlinLang Slack](https:\u002F\u002Fkotlinlang.slack.com\u002Farchives\u002FC019SH1RMBN). Come and join the conversation over there. If you don't have access to KotlinLang Slack, you can [request access here](https:\u002F\u002Fsurveys.jetbrains.com\u002Fs3\u002Fkotlin-slack-sign-up).\n\n**We're looking for contributors! Don't be shy.** 👍 Feel free to open issues\u002Fpull requests to help me improve this project.\n\n* When reporting a new Issue, make sure to attach **Screenshots**, **Videos** or **GIFs** of the problem you are reporting.\n* When submitting a new PR, make sure tests are all green. Write new tests if necessary.\n\n## Acknowledgments 🌸\n\n### Maintainers\n\nAppIntro is currently developed and maintained by the [AppIntro GitHub Org](https:\u002F\u002Fgithub.com\u002FAppIntro). When submitting a new PR, please ping one of:\n\n- [@paolorotolo](https:\u002F\u002Fgithub.com\u002Fpaolorotolo)\n- [@cortinico](https:\u002F\u002Fgithub.com\u002Fcortinico)\n\n### Libraries\n\nAppIntro is not relying on any third party library other than those from AndroidX: \n\n- `androidx.appcompat:appcompat`\n- `androidx.annotation:annotation`\n- `androidx.constraintlayout:constraintlayout`\n\n## License 📄\n\n```\n    Copyright (C) 2015-2020 AppIntro Developers\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n```\n\n## Apps using AppIntro 📱\n\nIf you are using AppIntro in your app and would like to be listed here, please open a pull request and we will be more than happy to include you:\n\n\u003Cdetails>\n  \u003Csummary>List of Apps using AppIntro\u003C\u002Fsummary>\n\n* [Smoothie Recipes](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.skykonig.smoothierecipes)\n* [neutriNote](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.appmindlab.nano)\n* [Handwriting Note](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.lyk.immersivenote)\n* [ChineseDictionary (粵韻漢典離線粵語普通話發聲中文字典)](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.jonasng.chinesedictionary)\n* [Salary Barometer](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=anaware.salarybarometer)\n* [Best Business Idea!](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=anaware.bestidea)\n* [Wi-Fi password reminder](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.rusdelphi.wifipassword)\n* [Find My Parked Car](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.ofirmiron.findmycarandroidwear)\n* [Vape Tool Pro](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.stasbar.vapetoolpro)\n* [Third Eye](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.miragestacks.thirdeye)\n* [Web Video Cast](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.instantbits.cast.webvideo)\n* [Fitness Challenge](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.isidroid.fitchallenge)\n* [Filmy - Your Movie Guide](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=tech.salroid.filmy)\n* [HEBF Optimizer ▪ Root](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.androidvip.hebf)\n* [IIFYM](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.javierd.iifym)\n* [Ampwifi Winamp Remote](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.blitterhead.ampwifi)\n* [Hugetwit](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.halilibo.hugetwit)\n* [Boo Music Player](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=cdn.BooPlayer)\n* [BeatPrompter](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.stevenfrew.beatprompter)\n* [BlueWords](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.thesrb.bluewords&referrer=utm_source%3Dappintro%26utm_medium%3Dgithub%26utm_campaign%3Dreadme)\n* [Orbot](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=org.torproject.android)\n* [PhotoGuard Photo Vault](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.photovault.photoguard)\n* [Ride My Park - Best Spots, Skateparks Map](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.andrieutom.rmp)\n* [Shopping list](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=de.vanse.shoppinglist) and [Shopping list pro](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=de.vanse.shoppinglist.pro)\n* [PZPIC - Pan & Zoom Effect Video from Still Picture](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.photo3dlab.pzpic)\n* [PrezziBenzina](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=org.vernazza.androidfuel)\n* [LogViewer for openHAB](https:\u002F\u002Fgithub.com\u002Fcyb3rko\u002Flogviewer-for-openhab-app)\n* [Firmo con CIE](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.cyberneid.disigoncie)\n* [iC-YOURLS](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=net.inscomers.yourls)\n* [Noon Happen](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.noonhappen.noonhappen)\n* [Weather Forecast](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.ehlb.weatherapp)\n* [Zoned Pomodoro Timer](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.just.five)\n* [PCAPdroid Network Monitor](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.emanuelef.remote_capture)\n* [EQtive](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.vekanto.eqtive)\n* [PocketMark - MarkDown Editor](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.ZetaDev.PocketMark)\n* [AIRSOFT SPOTTER](https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=io.github.precisionmarks.spotter)\n    \n\u003C\u002Fdetails>\n","AppIntro 是一个用于创建酷炫轮播介绍页的 Android 库。它支持 Kotlin 语言开发，提供请求权限的功能，并且能够帮助开发者快速构建出具有吸引力的应用引导界面。该库内置了多种自定义选项，包括幻灯片转换效果、颜色过渡、振动反馈等，使得用户可以根据自己的需求定制独特的欢迎体验。此外，AppIntro 还遵循 Material Design 设计规范，确保应用的视觉风格与 Google 的设计指南保持一致。适用于需要为新用户提供友好入门指引的各种移动应用程序场景中。",2,"2026-06-11 03:11:01","top_language"]