Introduction your app to the user , Easy to use and set Items as you want

Overview

Introduction App

This lib helps to introduce the App-by view page based on Kotlin.

Features

  • Easy Set up
  • Items: Title, Describe, Background, Buttons
  • Apply : Vertical and horizontal
  • Code : Kotlin
  • Transformer : Add yours or use another Libs
  • Performance as an Activity

📚 Installation

Install my-project with https://jitpack.io/

  dependencies {
	  implementation 'com.github.Mori-hub:Intro_vp2:1.0.0'
	}

🧰 Usage

  • First add Activity in Manifest
   <activity android:name="com.src.tools.vp2introduction.IntroPage"/>
  • Intent from your Activity
   this.startActivity(Intent(this, IntroPage::class.java))
  • Finaly Call
   val items = IntroPage.ViewPager2Adapter.SetPages()        

🎭 Structure

 val item = IntroPage.ViewPager2Adapter.SetPages()
        item.image = R.drawable.
        item.title = String
        item.description =String
        item.background = Color.parseColor("#")
        item.titleColor=Color.
        item.textColor= R.color.
        item.textSize=Float 
        item.titleSize=Float

Examples

 val item4 = IntroPage.ViewPager2Adapter.SetPages()
        item4.image = android.R.drawable.checkbox_on_background
        item4.title = "Item Four"
        item4.description ="🎭 getString(R.string.app_desc)"
        item4.background = Color.parseColor("#125B50")
        item4.titleColor=Color.parseColor("#F7FF93")
        item4.textColor=Color.parseColor("#E4AEC5")
        item4.textSize=20f
        item4.titleSize=30f

🎨 More Options

You can control Themes, Directions and Done button

Done Button

When it reaches the last page

val all = IntroPage.ViewPager2Adapter.SetPages()

all.done( "So Good", Color.parseColor("#FF6363") , 
         {Toast.makeText(this, "getString(R.string.now_lets_start)", Toast.LENGTH_SHORT).show()} , true)
     

Attention: Function must be on {} as an Unit, the last parameters ask about finish after all (true/false).

Set Theme

There are 4 themes inside of this lib, you can set one of them if you need.

 0 -> this.setTheme(android.R.style.Theme_Wallpaper_NoTitleBar_Fullscreen)
 1 -> this.setTheme(android.R.style.Theme_DeviceDefault_NoActionBar_TranslucentDecor)
 2 -> this.setTheme(android.R.style.Theme_Black_NoTitleBar)
 3 -> this.setTheme(android.R.style.Theme_Material_NoActionBar_TranslucentDecor)
  

Now Put a numer in this line :

   all.theme(1)

Set Transformer

If you want to add a page Transformer put on the first parameter and vertical direction on the second parameter

 all.transformer(here),t/f)

Like this :

  all.transformer(Transfer.RotateDown(),true)

Here it's used anther lib for Tranformation

  implementation 'com.github.Mori-hub:ViewPager2_Transfer:1.0.0'

Screenshots

Gifs

🖐 Important Notic

Please add parameters due to number of icons, otherwise the app will crash and close.

🚀 About Me

I'm a full stack developer...

🛠 Skills

Java, Kotlin, CSS....

Tech Stack

Important: For Gradle 7.2 & jitpack.io Please use this way : https://stackoverflow.com/a/71603699/12272687

Update: March 2022

🔗 Links

portfolio linkedin twitter Google

Feedback

If you have any feedback, please reach out to us at [email protected]

License

MIT

You might also like...
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.

The article on how this library was created is now published. You can read it on this link here. →. 💳 EasyFlipView Built with ❤︎ by Wajahat Karim and

An android project presenting some transitions you can use between activities

ActivityTransition An android project presenting some transitions you can use between activities #Integration Add the anim folder to your Android proj

User onboarding library with smooth animation of objects and background colors
User onboarding library with smooth animation of objects and background colors

SlidingTutorial Cleveroad introduces Sliding Tutorial Library for Flutter Hey guys, hope you haven’t started developing a tutorial for your Flutter ap

A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customizability.
A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customizability.

PassCodeText A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customi

How to improve the user experience using animated icons with vector drawables on Android
How to improve the user experience using animated icons with vector drawables on Android

Android Animated Icons How to improve the user experience using animated icons with vector drawables on Android English version https://medium.com/@an

Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API
Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API

What is Postman? Postman is a reactive One-tap SMS verification library. This library allows the usage of RxJava with The SMS User Consent API Usage P

Road Runner is a library for android which allow you to make your own loading animation using a SVG image
Road Runner is a library for android which allow you to make your own loading animation using a SVG image

Road Runner Road Runner is a library for android which allow you to make your own loading animation using a SVG image Sample video View in Youtube Dem

An easy, flexible way to add a shimmering effect to any view in an Android app.
An easy, flexible way to add a shimmering effect to any view in an Android app.

Shimmer for Android Shimmer is an Android library that provides an easy way to add a shimmer effect to any view in your Android app. It is useful as a

Location tracking & geofencing the easy way. Supports background, killed app, rebooted device different update intervals.

Geofencer Convience library to receive user location updates and geofence events with minimal effort. Features: supports Android-Q receive updates on

Releases(1.0.0)
Owner
S.M.Zendehbad
PhD NBT Dr. Zendehbad
S.M.Zendehbad
Chandrasekar Kuppusamy 799 Nov 14, 2022
💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.

?? Rich Android Path. ?? Draw as you want. ?? Animate much as you can. Download sample app: Features Full Animation Control on Paths and VectorDrawabl

Ahmed Tarek 2.3k Dec 20, 2022
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Burhanuddin Rashid 1k Jan 1, 2023
Android Library that lights items for tutorials or walk-throughs etc...

Spotlight Gradle dependencies { implementation 'com.github.takusemba:spotlight:x.x.x' } Usage val spotlight = Spotlight.Builder(this) .setTarg

TakuSemba 3.4k Jan 4, 2023
[] An Android library which allows developers to easily add animations to ListView items

DEPRECATED ListViewAnimations is deprecated in favor of new RecyclerView solutions. No new development will be taking place, but the existing versions

Niek Haarman 5.6k Dec 30, 2022
An Android library which provides simple Item animations to RecyclerView items

RecyclerViewItemAnimators Library Travis master: This repo provides: Appearance animations Simple animators for the item views Quick start You can now

Gabriele Mariotti 3.1k Dec 16, 2022
DuGuang 1k Dec 14, 2022
Set of extra Transitions on top of Jetpack Transitions Library

Transitions Everywhere Set of extra Transitions on top of AndroidX Transitions Library. About Article about transitions and library Originally this li

Andrey Kulikov 4.9k Dec 30, 2022
FragmentTransactionExtended is a library which provide us a set of custom animations between fragments.

FragmentTransactionExtended FragmentTransactionExtended is a library which provide us a set of custom animations between fragments. FragmentTransactio

Antonio Corrales 1.1k Dec 29, 2022
Set of extra Transitions on top of Jetpack Transitions Library

Transitions Everywhere Set of extra Transitions on top of AndroidX Transitions Library. About Article about transitions and library Originally this li

Andrey Kulikov 4.8k Apr 27, 2021