abstract class AbstractIdentificationFragment : FlowFragment<IdentificationContract.Presenter>, IdentificationContract.View
Abstract class containing the common logic and ui for the identification process
See Also
AbstractIdentificationFragment()
Abstract class containing the common logic and ui for the identification process |
lateinit var inputViewContainer: FrameLayout
this reference is used to add a child view in extended class |
|
open 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): Unit |
|
fun isTeaserEnabled(): Boolean |
|
open fun onCreate(savedInstanceState: Bundle?): Unit |
|
open fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? |
|
open fun onSaveInstanceState(outState: Bundle): Unit |
|
abstract fun prefillIdentifier(identifier: String?): Unit |
|
open fun setPresenter(presenter: IdentificationContract.Presenter): Unit
ties a presenter to this view |
|
open 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 |
const val KEY_CLIENT_INFO: String |
class EmailIdentificationFragment : AbstractIdentificationFragment, IdentificationContract.View
a Fragment displaying the email identification screen |
|
class MobileIdentificationFragment : AbstractIdentificationFragment
a Fragment displaying the phone number identification screen |