Material Design Steppers

Additional

Language
Java
Version
0.0.2 (Jan 30, 2016)
Created
Dec 7, 2015
Updated
Oct 20, 2017
Owner
s.shivasurya (shivasurya)
Contributor
s.shivasurya (shivasurya)
1
Activity
Badge
Generate
Download
Source code
APK file

Advertisement

Material Design Steppers

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.