class TermsFragment : FlowFragment<TermsContract.Presenter>, TermsContract.View
a Fragment displaying the terms and conditions screen
TermsFragment()
a Fragment displaying the terms and conditions screen |
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 |
lateinit var primaryActionView: LoadingButton
a Button allowing the user to continue his path |
|
var secondaryActionView: Button? |
|
lateinit var uiConf: InternalUiConfiguration |
fun onCreate(savedInstanceState: Bundle?): Unit |
|
fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? |
|
fun onSaveInstanceState(outState: Bundle): Unit |
|
fun onViewStateRestored(savedInstanceState: Bundle?): Unit |
|
fun requestNavigationToWebView(: String): Unit
Request a navigation to a WebFragment to shows terms and policies web page |
|
fun setPresenter(presenter: TermsContract.Presenter): Unit
ties a presenter to this view |
|
fun showErrorDialog(error: ClientError, errorMessage: String?): Unit |
open fun hideProgress(): Unit
allow the user to click on the .primaryActionView |
|
open fun onViewCreated(view: View, savedInstanceState: Bundle?): Unit |
|
open fun onVisibilityChanged(isOpen: Boolean): Unit
This method is called when the soft keyboard has pop down or pop up. |
|
open fun showProgress(): Unit
prevent the user to click on the .primaryActionView |
fun newInstance(uiConfiguration: InternalUiConfiguration, isUserAvailable: Boolean, agreementLinks: AgreementLinksResponse): TermsFragment |