Skip to content

Instantly share code, notes, and snippets.

@gilgoldzweig
Created January 30, 2019 14:33
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 gilgoldzweig/5594a5b5544210e07007c0a9c68bf5f7 to your computer and use it in GitHub Desktop.
Save gilgoldzweig/5594a5b5544210e07007c0a9c68bf5f7 to your computer and use it in GitHub Desktop.
interface ExampleContract : BaseContract {
interface View : BaseContract.View {
fun onProfileNameReceived(name: String)
fun onProfileNameRequestFailed(exception: Exception)
}
interface Presenter : BaseContract.Presenter<View> {
fun fetchProfileName()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment