Guest User

Untitled

a guest
Jul 16th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. class LoginContract {
  2. interface View {
  3. fun goToOtpPage(userId: String)
  4. fun showError(message: String)
  5. }
  6.  
  7. interface Presenter {
  8. fun onLoginBtnPressed(username: String, password: String)
  9. }
  10.  
  11. interface Interactor {
  12. fun login(username: String, password: String)
  13. }
  14.  
  15. interface InteractorOutput {
  16. fun onLoginSuccess(userId: String)
  17. fun onLoginError(message: String)
  18. }
  19. }
Add Comment
Please, Sign In to add comment