ui / com.schibsted.account.ui.contract / BaseView

BaseView

interface BaseView<in T>

Defines common methods for every views, this class should be implemented by the base fragment

See Also

com.schibsted.account.ui.ui.BaseFragment

Properties

isActive

abstract val isActive: Boolean

Return the state of the fragment, this method should be use to know if an UI update could be performed. Call this method before every intention of UI update

Functions

setPresenter

abstract fun setPresenter(presenter: T): Unit

Ties a Presenter to a view

showErrorDialog

abstract fun showErrorDialog(error: ClientError, errorMessage: String? = null): Unit

Inheritors

FlowView

interface FlowView<in T> : BaseView<T>