ui / com.schibsted.account.ui.login / BaseLoginActivity

BaseLoginActivity

abstract class BaseLoginActivity : AppCompatActivity, NavigationListener

Constructors

<init>

BaseLoginActivity()

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

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

onBackPressed

open fun onBackPressed(): Unit

onCreate

open fun onCreate(savedInstanceState: Bundle?): 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

onSaveInstanceState

open fun onSaveInstanceState(outState: Bundle): Unit

onWebViewNavigationRequested

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

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

Companion Object Properties

EXTRA_USER

const val EXTRA_USER: String

isLanguageOverridden

var isLanguageOverridden: Boolean

KEY_SMARTLOCK_CREDENTIALS

const val KEY_SMARTLOCK_CREDENTIALS: String

tracker

var tracker: UiTracking?

Inheritors

PasswordActivity

class PasswordActivity : BaseLoginActivity, SignUpContract

PasswordlessActivity

class PasswordlessActivity : BaseLoginActivity, PasswordlessContract

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