class OneStepLoginFragment : FlowFragment<OneStepLoginContract.Presenter>, OneStepLoginContract.View
a Fragment displaying the one step login screen
OneStepLoginFragment()
a Fragment displaying the one step login 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 identifyUser(inputField: InputField, trackingScreen: Screen, callback: () -> Unit): Unit |
|
fun onCreate(savedInstanceState: Bundle?): Unit |
|
fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? |
|
fun onResume(): Unit |
|
fun onSaveInstanceState(outState: Bundle): Unit |
|
fun onStart(): Unit |
|
fun onViewCreated(view: View, savedInstanceState: Bundle?): Unit |
|
fun setPresenter(presenter: OneStepLoginContract.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 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 |
const val KEY_CLIENT_INFO: String |
fun newInstance(uiConfiguration: InternalUiConfiguration, clientInfo: ClientInfo): OneStepLoginFragment
provide a new instance of this Fragment |