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 void
callLoginAPI(boolean isMobilePhone, java.lang.String username, java.lang.String password)
Callback when sign-up succeeds.void
showSignupError(java.lang.String error)
Callback when the sign-up fails.void
signUpSuccess()
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
-true
if mobile phone is enabled, elsefalse
username
- 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
-
-