Material Design Steppers
Google Material Design Steppers Component
compile 'ivb.com.materialstepper:material-stepper:0.0.2'
Steps to Add To your Project :
- Download the library (i have added to jcenter and waiting for approval) or add in your libs folder
- Extend your Activity -> from mobileStepperSimple Class
- Implement the Methods initApp and onStepperCompleted
- Basically Every Steps will be Fragments and will be handling UserInteraction,so create,Extend your fragments fromstepperFragment
- Implement the Method onNextButtonHandler which should return true/false to determine the Library to Move Ahead for next Step,So write your UI validations here and return appropriately.
- In your Activity create Objects for your fragments made with stepperFragment ,create as many fragments for your use
- Create List and add all the object of fragments.
- Inside your initApp overriden Method, just setFragments(PASS_LIST_OF_FRAGMENTS) >
- finally call init() method from your initApp() method
- Use onStepperCompleted() for taking actions after the Stepper fragments are completely done by the user
Note : with the given List size : step count will be Computed and Updated,Increasing and dynamic fragment feature will be added in future Commits, Scrollview have been adopted for fragment inbuilt to scroll,So no worries for small screens and large layout.
DEMO :
Included the Example Demo app in Example Medical App project,Download and Sync with gradle.build
Screenshot :
Screenshot :
Use of this Library :
- Payment Processing Steps for Checkouts
- Account verification and creation
- Survey Apps and Form fillup driven apps (Highly Recommended)
- Any Accomplishment apps and Task driven apps.
Hi,are you still supporting it?I want to use it with firebase,so can I store data as usual?
ReplyDeleteYes you can use this with firebase same manner where we deal with the firbase object in fragment because ultimately we are pushing our own created fragment inside the Steppers Lib.
DeleteStill feel free if you facing problem to deal with it I will guide you.
Thanks,I am trying to in add the dependency on android strudio but I am getting not resolve progressMobileStepper
ReplyDeletecompile 'com.android.support:appcompat-v7:23.4.0'
compile 'ivb.com.materialstepper:material-stepper:0.0.1'
compile 'com.android.support:support-v4:23.4.0'
public class MainActivity extends progressMobileStepper {
ReplyDeleteand doesnt give me achance to import,is there anything more I need to add other than dependency...,
This comment has been removed by the author.
ReplyDeleteChanges to compile 'ivb.com.materialstepper:material-stepper:0.0.2' and it works!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks...
ReplyDeleteI change in post because its new version.