ui / com.schibsted.account.ui.login.flow.passwordless / PasswordlessActivity

PasswordlessActivity

class PasswordlessActivity : BaseLoginActivity, PasswordlessContract

an Activity use as navigation controller for the UI login flow. This activity manage the keyboard visibility.

See Also

MobileIdentificationFragment

Constructors

<init>

PasswordlessActivity()

an Activity use as navigation controller for the UI login flow. This activity manage the keyboard visibility.

Inherited Properties

accountService

lateinit var accountService: AccountService

fragmentProvider

lateinit var fragmentProvider: FragmentProvider

loginContract

lateinit var loginContract: LoginContractImpl

menu

var menu: Menu?

navigationController

lateinit var navigationController: Navigation

screen

var screen: LoginScreen?

viewModel

lateinit var viewModel: LoginActivityViewModel

Functions

onAgreementsRequested

fun onAgreementsRequested(agreementsProvider: InputProvider<Agreements>, agreementLinks: AgreementLinksResponse): Unit

onBackPressed

fun onBackPressed(): Unit

onCreate

fun onCreate(savedInstanceState: Bundle?): Unit

onFlowReady

fun onFlowReady(callbackProvider: CallbackProvider<LoginResult>): Unit

onIdentifierRequested

fun onIdentifierRequested(provider: InputProvider<Identifier>): Unit

onRequiredFieldsRequested

fun onRequiredFieldsRequested(requiredFieldsProvider: InputProvider<RequiredFields>, fields: Set<String>): Unit

onSaveInstanceState

fun onSaveInstanceState(outState: Bundle): Unit

onVerificationCodeRequested

fun onVerificationCodeRequested(verificationCodeProvider: InputProvider<VerificationCode>, identifier: Identifier): Unit

Inherited Functions

attachBaseContext

open fun attachBaseContext(base: Context): Unit

loadRequiredInformation

fun loadRequiredInformation(provider: InputProvider<Identifier>? = null): Unit

onActivityResult

open fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?): Unit

onCreateOptionsMenu

open fun onCreateOptionsMenu(menu: Menu): Boolean

onDialogNavigationRequested

open fun onDialogNavigationRequested(where: DialogFragment): Unit

Use this method to listen to navigation event involving a InformationDialogFragment.

onNavigateBackRequested

open fun onNavigateBackRequested(): Unit

Use this method to navigate back to the previous defined screen

onNavigationDone

open fun onNavigationDone(screen: LoginScreen): Unit

onNewIntent

open fun onNewIntent(intent: Intent): Unit

onOptionsItemSelected

open fun onOptionsItemSelected(item: MenuItem): Boolean

onPause

open fun onPause(): Unit

onResume

open fun onResume(): Unit

onWebViewNavigationRequested

open fun onWebViewNavigationRequested(where: WebFragment, loginScreen: LoginScreen): Unit

Use this method to listen to navigation event involving a FlowFragment.

Companion Object Properties

KEY_CONTROLLER

const val KEY_CONTROLLER: String