Interface RegistrationView
-
- All Known Implementing Classes:
RegistrationActivity
public interface RegistrationView extends LoginView
MVP View Class for Registration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcallLoginAPI(boolean isMobilePhone, java.lang.String username, java.lang.String password)Callback when sign-up succeeds.voidshowSignupError(java.lang.String error)Callback when the sign-up fails.voidsignUpSuccess()Callback when sign-up succeeds.-
Methods inherited from interface com.cheetahdigital.authentication.ui.login.LoginView
onLoginSuccess, processErrorWithMember, receivedInfo, showLoginError, showProgressDialog
-
-
-
-
Method Detail
-
showSignupError
void showSignupError(java.lang.String error)
Callback when the sign-up fails.- Parameters:
error- Error text
-
callLoginAPI
void callLoginAPI(boolean isMobilePhone, java.lang.String username, java.lang.String password)Callback when sign-up succeeds.- Parameters:
isMobilePhone-trueif mobile phone is enabled, elsefalseusername- email or mobilephone used in sign-uppassword- Password used in sign-up
-
signUpSuccess
void signUpSuccess()
Callback when sign-up succeeds. Custom impelmentation Allows custom behavior after successful sign up No email and password given
-
-