Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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