Created
June 24, 2014 10:10
-
-
Save flipper83/8ef467343508479c6705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ActivityTest extends Frament implements Wizzard { | |
@Override | |
public Validate getValidate() { | |
UserPasswordValidator userPasswordValidator = new UserPasswordValidator(user,password); | |
return userPasswordValidator(); | |
} | |
} | |
public class TestActivity extends Activity { | |
/** next step on wizzard */ | |
private void next(){ | |
if(currentStep >= pageAdapter.size()){ | |
//validate all | |
for(Validate validate allValidates){ | |
boolean isValid = validate.isValid(); | |
... | |
} | |
... | |
}else{ | |
... | |
Validate validate = pageAdapter.get(currentStep).getValidate(); | |
allValidates.add(validate); | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment