Material Design Steppers


Source link: https://github.com/shivasurya/materialsteppers

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.

Resources

A nice thumb up control.

Amazing Material Login effect.

Correct, reproducible, and fast builds for everyone.

Rx wrapped GeoFence library, built on top of GeoFire.

A simple library to work with SharedPreferences.

Android 7.0 nougat boot animation.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes