class PasswordFragment : FlowFragment<PasswordContract.Presenter>, PasswordContract.View, AccountSelectorView.Listener
PasswordFragment() |
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 isRememberMeEnabled(): <ERROR CLASS> |
|
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 onViewCreated(view: View, savedInstanceState: Bundle?): Unit |
|
fun setPresenter(presenter: PasswordContract.Presenter): Unit
Ties a Presenter to a view |
|
fun showErrorDialog(error: ClientError, errorMessage: String?): Unit |
open fun hideProgress(): Unit
allow the user to click on the .primaryActionView |
|
open fun onVisibilityChanged(isOpen: Boolean): Unit
This method is called when the soft keyboard has pop down or pop up. |
|
open fun showError(errorField: ErrorField, errorMes: Int): Unit
Shows a contextual error related to the user's actions |
|
open fun showProgress(): Unit
prevent the user to click on the .primaryActionView |
fun newInstance(identifier: Identifier, isUserAvailable: Boolean, uiConfiguration: InternalUiConfiguration): PasswordFragment |