ui / com.schibsted.account.ui.ui / FlowView

FlowView

interface FlowView<in T> : BaseView<T>

Inherited 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

hideError

open fun hideError(errorField: ErrorField): Unit

Hides a previously shown error

hideProgress

abstract fun hideProgress(): Unit

allow the user to click on the .primaryActionView

showError

open fun showError(errorField: ErrorField): Unit

Shows a contextual error related to the user's actions

showProgress

abstract fun showProgress(): Unit

prevent the user to click on the .primaryActionView

Inherited 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

FlowFragment

abstract class FlowFragment<in T> : BaseFragment, KeyboardVisibilityListener, FlowView<T>

a Fragment used to represents a part of a UI flow, as such, this fragment can continue a flow. the flow could be continue thanks to the keyboard or a button.

View

interface View : FlowView<IdentificationContract.Presenter>

defines methods implemented by views related to identification process

View

interface View : FlowView<RequiredFieldsContract.Presenter>

View

interface View : FlowView<OneStepLoginContract.Presenter>

View

interface View : FlowView<PasswordContract.Presenter>

View

interface View : FlowView<TermsContract.Presenter>

defines methods implemented by views related to terms and condition business

View

interface View : FlowView<VerificationContract.Presenter>

defines methods implemented by views related to verification process