All Projects → Ramotion → Paper Onboarding Android

Ramotion / Paper Onboarding Android

Licence: mit
PaperOnboarding is a material design slider made by @Ramotion

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Paper Onboarding Android

Vanilla Tilt.js
A smooth 3D tilt javascript library.
Stars: ✭ 2,851 (+14.22%)
Mutual labels:  library
Pottery
Redis for humans. 🌎🌍🌏
Stars: ✭ 204 (-91.83%)
Mutual labels:  library
Goview
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
Stars: ✭ 213 (-91.47%)
Mutual labels:  library
Sparkbuttondemo
Demonstrates the Like button animation.
Stars: ✭ 210 (-91.59%)
Mutual labels:  library
Liblas
C++ library and programs for reading and writing ASPRS LAS format with LiDAR data
Stars: ✭ 211 (-91.55%)
Mutual labels:  library
W25qxx
w25qxx SPI FLASH driver for stm32 HAL
Stars: ✭ 211 (-91.55%)
Mutual labels:  library
Svelte Component Template
A base for building shareable Svelte 3 components
Stars: ✭ 208 (-91.67%)
Mutual labels:  library
Venom
A lightweight tool that simplifies testing of the process death scenario.
Stars: ✭ 218 (-91.27%)
Mutual labels:  library
Chatview
This is an Android library which can be used to add chat functionality to your android application with just a few lines of code.
Stars: ✭ 211 (-91.55%)
Mutual labels:  library
Cgal
The public CGAL repository, see the README below
Stars: ✭ 2,825 (+13.18%)
Mutual labels:  library
Instagram Api Python
Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.
Stars: ✭ 2,357 (-5.57%)
Mutual labels:  library
Jsontreeviewer
json formatter/viewer/pretty-printer (with jsonTree javascript-library)
Stars: ✭ 211 (-91.55%)
Mutual labels:  library
Abort Controller
An implementation of WHATWG AbortController interface.
Stars: ✭ 213 (-91.47%)
Mutual labels:  library
K4kotlin
A sweet, small set of Kotlin functions to reduce your android boilerplate code
Stars: ✭ 210 (-91.59%)
Mutual labels:  library
Lwrb
Lightweight generic ring buffer manager library
Stars: ✭ 215 (-91.39%)
Mutual labels:  library
Jcplayer
🎵 A simple audio player for Android applications.
Stars: ✭ 209 (-91.63%)
Mutual labels:  library
Hal
hal provides an AWS Lambda Custom Runtime environment for your Haskell applications.
Stars: ✭ 213 (-91.47%)
Mutual labels:  library
Search Engine Parser
Lightweight package to query popular search engines and scrape for result titles, links and descriptions
Stars: ✭ 216 (-91.35%)
Mutual labels:  library
Glhf
openGL Have Fun - A Go package that makes life with OpenGL enjoyable.
Stars: ✭ 217 (-91.31%)
Mutual labels:  library
Yt Dlc
media downloader and library for various sites.
Stars: ✭ 2,590 (+3.77%)
Mutual labels:  library

PAPER ONBOARDING

Android library Paper Onboarding is a material design UI slider written on Java


We specialize in the designing and coding of custom UI for Mobile Apps and Websites.

Stay tuned for the latest updates:


CircleCI Codacy Badge Twitter Donate

Requirements

  • Android 4.0.3 IceCreamSandwich (API lvl 15) or greater
  • Your favorite IDE

Installation

​ Just download the package from here and add it to your project classpath, or just use the maven repo: ​ Gradle:

'com.ramotion.paperonboarding:paper-onboarding:1.1.3'

SBT:

libraryDependencies += "com.ramotion.paperonboarding" % "paper-onboarding" % "1.1.3"

Maven:

<dependency>
    <groupId>com.ramotion.paperonboarding</groupId>
    <artifactId>paper-onboarding</artifactId>
    <version>1.1.3</version>
    <type>aar</type>
</dependency>

Basic usage

Paper Onboarding is a simple and easy to use onboarding slider for your app. You just need to provide content for each slider page - a main icon, text, and small round icon for the bottom.

1 Use PaperOnboardingPage to prepare your data for slider:

PaperOnboardingPage scr1 = new PaperOnboardingPage("Hotels",
	"All hotels and hostels are sorted by hospitality rating",
        Color.parseColor("#678FB4"), R.drawable.hotels, R.drawable.key);
PaperOnboardingPage scr2 = new PaperOnboardingPage("Banks",
	"We carefully verify all banks before add them into the app",
        Color.parseColor("#65B0B4"), R.drawable.banks, R.drawable.wallet);
PaperOnboardingPage scr3 = new PaperOnboardingPage("Stores",
	"All local stores are categorized for your convenience",
        Color.parseColor("#9B90BC"), R.drawable.stores, R.drawable.shopping_cart);

ArrayList<PaperOnboardingPage> elements = new ArrayList<>();
elements.add(scr1);
elements.add(scr2);
elements.add(scr3);

2 Create a fragment from PaperOnboardingFragment and provide your data.

PaperOnboardingFragment onBoardingFragment = PaperOnboardingFragment.newInstance(elements);

3 Done! Now you can use this fragment as you want in your activity, for example :

FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
fragmentTransaction.add(R.id.fragment_container, onBoardingFragment);
fragmentTransaction.commit();

4 Extra step : You can add event listeners to fragments with your logic, like replacing this fragment to another when the user swipes next from the last screen:

onBoardingFragment.setOnRightOutListener(new PaperOnboardingOnRightOutListener() {
    @Override
    public void onRightOut() {
        FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
        Fragment bf = new BlankFragment();
        fragmentTransaction.replace(R.id.fragment_container, bf);
        fragmentTransaction.commit();
    }
});

Currently, there are three listeners that cover all events - onRightOut, onLeftOut and onChange; see code examples and usage in the repo.


🗂 Check this library on other language:

📄 License

Paper Onboarding Android is released under the MIT license. See LICENSE for details.

This library is a part of a selection of our best UI open-source projects

If you use the open-source library in your project, please make sure to credit and backlink to www.ramotion.com

📱 Get the Showroom App for Android to give it a try

Try this UI component and more like this in our Android app. Contact us if interested.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].