Skip to content

Instantly share code, notes, and snippets.

@rozkminiacz
Created March 1, 2020 09:26
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/099015e6965fd1d2ff3725ee303f4b2b to your computer and use it in GitHub Desktop.
Save rozkminiacz/099015e6965fd1d2ff3725ee303f4b2b to your computer and use it in GitHub Desktop.
package tech.michalik.mvptesting
interface MainScreenContract {
interface View {
fun displayData(list: List<CurrencyModel>)
fun toggleLoadingIndicator(loading: Boolean)
fun displayError(throwable: Throwable)
}
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