|
@ -79,8 +79,10 @@ public class LoginV2Presenter extends BaseViewModel implements LoginV2PresenterI |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void mockValidUserLogin() { |
|
|
private void mockValidUserLogin() { |
|
|
|
|
|
// loginViewLiveData.setPasswordInputLiveData(new FormInputStateDTO<>(true,null,"1234")); |
|
|
|
|
|
// loginViewLiveData.setUserIdInputLiveData(new FormInputStateDTO<>(true,null,"subedi.msmanoj@gmail.com")); |
|
|
loginViewLiveData.setPasswordInputLiveData(new FormInputStateDTO<>(true,null,"1234")); |
|
|
loginViewLiveData.setPasswordInputLiveData(new FormInputStateDTO<>(true,null,"1234")); |
|
|
loginViewLiveData.setUserIdInputLiveData(new FormInputStateDTO<>(true,null,"subedi.msmanoj@gmail.com")); |
|
|
|
|
|
|
|
|
loginViewLiveData.setUserIdInputLiveData(new FormInputStateDTO<>(true,null,"testsender@nepal.com")); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void bindView(LoginViewLiveData.LoginViewBindings viewBindings) { |
|
|
private void bindView(LoginViewLiveData.LoginViewBindings viewBindings) { |
|
@ -176,7 +178,8 @@ public class LoginV2Presenter extends BaseViewModel implements LoginV2PresenterI |
|
|
private class LoginValidator { |
|
|
private class LoginValidator { |
|
|
|
|
|
|
|
|
private String userId; |
|
|
private String userId; |
|
|
private String password="4d544b3132bd58cb051d2cc6dfb445ae958f618cf84ace71184d983d8921224fa415c0b754accb7b3c356eef919dd90d0742d250c3be868711de6df6ccdbc886055cca39ad12e1577a3e3c682a5ff6e63fd1eb15"; |
|
|
|
|
|
|
|
|
// private String password="4d544b3132bd58cb051d2cc6dfb445ae958f618cf84ace71184d983d8921224fa415c0b754accb7b3c356eef919dd90d0742d250c3be868711de6df6ccdbc886055cca39ad12e1577a3e3c682a5ff6e63fd1eb15"; |
|
|
|
|
|
private String password="7697882"; |
|
|
private boolean validateUserId(CharSequence userID) { |
|
|
private boolean validateUserId(CharSequence userID) { |
|
|
|
|
|
|
|
|
if (userID == null || userID.length() < 1) { |
|
|
if (userID == null || userID.length() < 1) { |
|
|