Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Created March 12, 2018 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rozkminiacz/f783b3e210314bffa89e18e56cd1818c to your computer and use it in GitHub Desktop.
Save rozkminiacz/f783b3e210314bffa89e18e56cd1818c to your computer and use it in GitHub Desktop.
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