Created
March 12, 2018 09:03
-
-
Save rozkminiacz/f783b3e210314bffa89e18e56cd1818c to your computer and use it in GitHub Desktop.
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 PeopleListContract { | |
interface View { | |
fun addPeople(people: List<Person>) | |
fun showError(throwable: Throwable = Throwable()) | |
fun showLoading() | |
fun hideLoading() | |
} | |
interface Presenter { | |
fun attach(view: View) | |
fun detach() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment