Giter Club home page Giter Club logo

materialsteppers's Introduction

Material Design Steppers

Download Android Arsenal

Google Material Design Steppers Component - Android Java - Official Link


`compile 'ivb.com.materialstepper:material-stepper:0.0.2'`

1. Create Java Class and Extend **progressMobileStepper** or **simpleMobileStepper** Activity.
2. Implement Methods **List init()** method and **void onStepperCompleted()** .
3. Create Fragments by Extending **stepperFragment** and implement Method **boolean onNextButtonHandler()**.
4. Use **onNextButtonHandler** method to handle UI validation inside Fragments,whenever the user presses the Next Button,return true/false inorder to determine to Stay or move to next Fragment.
5. Make it as ArrayList with Class containing fragments and return via **List init()** method - Mentioned in 1st point.
6. use **onStepperCompleted** method to complete stepper and finalize the activity. 7. It's upto Developer to use savedInstanceState to save the Data since the fragments will be initialized only when needed,At most of the time it will be destroyed.(To Avoid Memory Overhead and Leaks).
**Note** : with the given List size : step count will be Computed and Updated,Increasing and dynamic fragment feature may be added in future Commits,
Scrollview have been adopted for ViewPager(fragment) inbuilt to scroll,So no worries for small/Large Screens.Added support for both Landscape and Portait Mode by adopting SavedInstanceState.(However Your Data inside fragment is not gauranteed so,use SavedinstanceState) ##DEMO : Included the Example Demo app in example project,Download and Sync with gradle.build
###Screenshot : Screenshot Link
## Use of this Library : 1) Payment Processing Steps for Checkouts
2) Account verification and creation
3) Survey Apps and Form fillup driven apps (Highly Recommended)
4) Any Accomplishment apps and Task driven apps.

##Motive behind this Library: Hello,i'm shivasurya,Pre-Final year UG Student from INDIA
i have been developing apps for more than a year,Developed Android Material Design Component using Existing Support Library v4 ViewPager named as Material Steppers.Initially developed for part of College Project and open sourced for further development and enhancement of the library in Github.Constantly working on the library to improve features and fix memory Leaks based on issues opened.It has been published in Android-arsenal too.

Android Arsenal - https://android-arsenal.com/details/1/3049
Please Do Contribute and Optimize the code as possible.

##License The MIT License (MIT)

Copyright (c) Shivasurya S

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

materialsteppers's People

Contributors

shivasurya avatar

Watchers

Mothi Venkatesh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.