ui / com.schibsted.account.ui.login.screen.term / TermsContract / Presenter

Presenter

interface Presenter

defines methods implemented by presenters performing terms and conditions business

See Also

com.schibsted.account.ui.login.screen.term.TermsFragment

Functions

acceptAgreements

abstract fun acceptAgreements(): Unit

acceptTerms

abstract fun acceptTerms(termsBox: CheckBoxView): Unit

Depending on the state of the term checkbox this method should change the state of the desired android.view.View

Inheritors

TermsPresenter

class TermsPresenter : TermsContract.Presenter

Following the MVP design pattern this interface represent the implementation of the TermsContract.Presenter. this class executes the terms and condition business logic and ask for UI updates depending on results.