Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class LoginContract {
- interface View {
- fun goToOtpPage(userId: String)
- fun showError(message: String)
- }
- interface Presenter {
- fun onLoginBtnPressed(username: String, password: String)
- }
- interface Interactor {
- fun login(username: String, password: String)
- }
- interface InteractorOutput {
- fun onLoginSuccess(userId: String)
- fun onLoginError(message: String)
- }
- }
Add Comment
Please, Sign In to add comment