Created
June 2, 2020 19:20
-
-
Save armancodv/3d6f23a52eb8d5578a6f718e99ff720c to your computer and use it in GitHub Desktop.
MVP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface LoginContract { | |
interface View : BaseContract.View { | |
fun showEmailError(error: String?) | |
fun showPasswordError(error: String?) | |
fun disableButton() | |
fun enableButton() | |
} | |
interface Presenter : BaseContract.Presenter<View> { | |
fun login(email: String?, password: String?) | |
fun checkEmail(email: String) | |
fun checkPassword(password: String) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment