Guest User

Untitled

a guest
Jul 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. package com.oscaretnia.authenticationfirebase.signin;
  2.  
  3. public interface SigninContract {
  4.  
  5. interface View {
  6. void onNavigateHome();
  7. void displayEmailError(String error);
  8. void displayPasswordError(String error);
  9. void displaySigninError(String error);
  10. void displayLoader(boolean loader);
  11. void setEnabledView(boolean enable);
  12. }
  13.  
  14. interface Presenter {
  15. void attemptSignin(String email, String password);
  16. boolean isValidForm(String email, String password);
  17. void onDestroy();
  18. }
  19.  
  20. interface Interactor {
  21. void doSignin(String email, String password);
  22. }
  23.  
  24. interface CompleteListener {
  25. void onSuccess();
  26. void onError();
  27. }
  28.  
  29. }
Add Comment
Please, Sign In to add comment