interface FlowView<in T> : BaseView<T>
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 |
open fun hideError(errorField: ErrorField): Unit
Hides a previously shown error |
|
abstract fun hideProgress(): Unit
allow the user to click on the .primaryActionView |
|
open fun showError(errorField: ErrorField): Unit
Shows a contextual error related to the user's actions |
|
abstract fun showProgress(): Unit
prevent the user to click on the .primaryActionView |
abstract fun setPresenter(presenter: T): Unit
Ties a Presenter to a view |
|
abstract fun showErrorDialog(error: ClientError, errorMessage: String? = null): Unit |
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. |
|
interface View : FlowView<IdentificationContract.Presenter>
defines methods implemented by views related to identification process |
|
interface View : FlowView<RequiredFieldsContract.Presenter> |
|
interface View : FlowView<OneStepLoginContract.Presenter> |
|
interface View : FlowView<PasswordContract.Presenter> |
|
interface View : FlowView<TermsContract.Presenter>
defines methods implemented by views related to terms and condition business |
|
interface View : FlowView<VerificationContract.Presenter>
defines methods implemented by views related to verification process |