Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Created March 12, 2018 09:19
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/49a55443d5c70bfaeded93eabad0afc9 to your computer and use it in GitHub Desktop.
Save rozkminiacz/49a55443d5c70bfaeded93eabad0afc9 to your computer and use it in GitHub Desktop.
class PeopleListPresenter(val repository: Repository<Person>) : PeopleListContract.Presenter {
var view: PeopleListContract.View? = null
override fun attach(view: PeopleListContract.View) {
this.view = view
}
override fun detach() {
this.view = null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment