Created
March 12, 2018 09:19
-
-
Save rozkminiacz/49a55443d5c70bfaeded93eabad0afc9 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
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