interface View : FlowView<TermsContract.Presenter>
defines methods implemented by views related to terms and condition business
abstract fun requestNavigationToWebView(: String): Unit
Requests a navigation to a com.schibsted.account.ui.ui.WebFragment. It should be use to show terms and policies of Schibsted account and the client as a web page. |
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 |
class TermsFragment : FlowFragment<TermsContract.Presenter>, TermsContract.View
a Fragment displaying the terms and conditions screen |