class VerificationFragment : FlowFragment<VerificationContract.Presenter>, VerificationContract.View, AccountSelectorView.Listener
a Fragment displaying the code verification screen
VerificationFragment()
a Fragment displaying the code verification 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 |
|
val isRememberMeEnabled: Boolean |
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 onDialogRequested(selectorDialog: SelectorDialog): Unit |
|
fun onSaveInstanceState(outState: Bundle): Unit |
|
fun setPasswordlessController(passwordlessController: PasswordlessController): Unit |
|
fun setPresenter(presenter: VerificationContract.Presenter): Unit
set the presenter of this view |
|
fun showErrorDialog(error: ClientError, errorMessage: String?): Unit |
|
fun showResendCodeView(): Unit
Builds an InformationDialogFragment an ask the .navigationListener to show it. The InformationDialogFragment inform the user that the code was successfully resent |
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(identifier: Identifier): VerificationFragment
provide a new instance of this Fragment |