ui / com.schibsted.account.ui.login / FragmentProvider

FragmentProvider

class FragmentProvider

Constructors

<init>

FragmentProvider(uiConfiguration: InternalUiConfiguration, navigation: Navigation)

Functions

getOrCreateIdentificationFragment

fun getOrCreateIdentificationFragment(provider: InputProvider<Identifier>? = null, flowType: AccountUi.FlowType, flowSelectionListener: FlowSelectionListener? = null, clientInfo: ClientInfo): BaseFragment

getOrCreateInboxFragment

fun getOrCreateInboxFragment(currentIdentifier: Identifier): BaseFragment

getOrCreateOneStepLoginFragment

fun getOrCreateOneStepLoginFragment(idProvider: InputProvider<Identifier>? = null, credProvider: MutableLiveData<InputProvider<Credentials>>, smartlockController: SmartlockController?, flowSelectionListener: FlowSelectionListener? = null, clientInfo: ClientInfo): BaseFragment

getOrCreatePasswordFragment

fun getOrCreatePasswordFragment(provider: InputProvider<Credentials>, currentIdentifier: Identifier, userAvailable: Boolean, smartlockController: SmartlockController?): BaseFragment

getOrCreateRequiredFieldsFragment

fun getOrCreateRequiredFieldsFragment(provider: InputProvider<RequiredFields>, fields: Set<String>): BaseFragment

getOrCreateTermsFragment

fun getOrCreateTermsFragment(provider: InputProvider<Agreements>, userAvailable: Boolean, agreementLinks: AgreementLinksResponse): BaseFragment

getOrCreateVerificationScreen

fun getOrCreateVerificationScreen(provider: InputProvider<VerificationCode>, identifier: Identifier, passwordlessController: PasswordlessController): BaseFragment