Android SDK Version
All Implemented Interfaces:
android.content.ComponentCallbacks , android.view.View.OnCreateContextMenuListener , androidx.activity.result.ActivityResultCaller , androidx.lifecycle.HasDefaultViewModelProviderFactory , androidx.lifecycle.LifecycleOwner , androidx.lifecycle.ViewModelStoreOwner , androidx.savedstate.SavedStateRegistryOwner


public class LoginFragment
extends Fragment
This Fragment is a necessary part of the overall Facebook login process but is not meant to be used directly.
Nested Class Summary
Modifier and TypeClassDescription
public classLoginFragment.Companion
Field Summary
Modifier and TypeFieldDescription
private LoginClientloginClient
private ActivityResultLauncher<Intent>launcher
private final IntegermState
private final BundlemSavedFragmentState
private final SparseArray<Parcelable>mSavedViewState
private final BundlemSavedViewRegistryState
private final BooleanmSavedUserVisibleHint
private final StringmWho
private final BundlemArguments
private final FragmentmTarget
private final StringmTargetWho
private final IntegermTargetRequestCode
private final BooleanmAdded
private final BooleanmRemoving
private final BooleanmFromLayout
private final BooleanmInLayout
private final BooleanmRestored
private final BooleanmPerformedCreateView
private final IntegermBackStackNesting
private final FragmentManagermFragmentManager
private final FragmentHostCallback<?>mHost
private final FragmentManagermChildFragmentManager
private final FragmentmParentFragment
private final IntegermFragmentId
private final IntegermContainerId
private final StringmTag
private final BooleanmHidden
private final BooleanmDetached
private final BooleanmRetainInstance
private final BooleanmRetainInstanceChangedWhileDetached
private final BooleanmHasMenu
private final BooleanmMenuVisible
private final ViewGroupmContainer
private final ViewmView
private final BooleanmDeferStart
private final BooleanmUserVisibleHint
private final Fragment.AnimationInfomAnimationInfo
private final RunnablemPostponedDurationRunnable
private final BooleanmIsNewlyAdded
private final BooleanmHiddenChanged
private final FloatmPostponedAlpha
private final LayoutInflatermLayoutInflater
private final BooleanmIsCreated
private final Lifecycle.StatemMaxState
private final LifecycleRegistrymLifecycleRegistry
private final FragmentViewLifecycleOwnermViewLifecycleOwner
private final MutableLiveData<LifecycleOwner>mViewLifecycleOwnerLiveData
private final SavedStateRegistryControllermSavedStateRegistryController
Constructor Summary
ConstructorDescription
LoginFragment()
Method Summary
Modifier and TypeMethodDescription
final LoginClientgetLoginClient()
final UnitsetLoginClient(LoginClient loginClient)
final ActivityResultLauncher<Intent>getLauncher()
final UnitsetLauncher(ActivityResultLauncher<Intent> launcher)
UnitonCreate(Bundle savedInstanceState)
UnitonDestroy()
ViewonCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
UnitonResume()
UnitonPause()
UnitonActivityResult(Integer requestCode, Integer resultCode, Intent data)
UnitonSaveInstanceState(Bundle outState)
Methods inherited from class com.facebook.login.LoginFragment
callStartTransitionListener, createFragmentContainer, dump, equals, findFragmentByWho, generateActivityResultKey, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getAnimatingAway, getAnimator, getArguments, getChildFragmentManager, getContext, getDefaultViewModelProviderFactory, getEnterTransition, getEnterTransitionCallback, getExitTransition, getExitTransitionCallback, getFocusedView, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getNextAnim, getNextTransition, getParentFragment, getParentFragmentManager, getPostOnViewCreatedAlpha, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSavedStateRegistry, getSharedElementEnterTransition, getSharedElementReturnTransition, getSharedElementSourceNames, getSharedElementTargetNames, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hasOptionsMenu, hashCode, initState, isAdded, isDetached, isHidden, isHideReplaced, isInBackStack, isInLayout, isMenuVisible, isPostponed, isRemoving, isRemovingParent, isResumed, isStateSaved, isVisible, noteStateNotSaved, onActivityCreated, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimation, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onPrimaryNavigationFragmentChanged, onRequestPermissionsResult, onStart, onStop, onViewCreated, onViewStateRestored, performActivityCreated, performAttach, performConfigurationChanged, performContextItemSelected, performCreate, performCreateOptionsMenu, performCreateView, performDestroy, performDestroyView, performDetach, performGetLayoutInflater, performLowMemory, performMultiWindowModeChanged, performOptionsItemSelected, performOptionsMenuClosed, performPause, performPictureInPictureModeChanged, performPrepareOptionsMenu, performPrimaryNavigationFragmentChanged, performResume, performSaveInstanceState, performStart, performStop, performViewCreated, postponeEnterTransition, postponeEnterTransition, registerForActivityResult, registerForActivityResult, registerForContextMenu, requestPermissions, requireActivity, requireArguments, requireContext, requireFragmentManager, requireHost, requireParentFragment, requireView, restoreChildFragmentState, restoreViewState, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setAnimatingAway, setAnimator, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setFocusedView, setHasOptionsMenu, setHideReplaced, setInitialSavedState, setMenuVisibility, setNextAnim, setNextTransition, setOnStartEnterTransitionListener, setPostOnViewCreatedAlpha, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementNames, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

LoginFragment

LoginFragment()
Method Detail

getLoginClient

 final LoginClientgetLoginClient()

setLoginClient

 final UnitsetLoginClient(LoginClient loginClient)

setLauncher

 final UnitsetLauncher(ActivityResultLauncher<Intent> launcher)

onCreate

UnitonCreate(Bundle savedInstanceState)

onDestroy

UnitonDestroy()

onCreateView

ViewonCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

onResume

UnitonResume()

onPause

UnitonPause()

onActivityResult

UnitonActivityResult(Integer requestCode, Integer resultCode, Intent data)

onSaveInstanceState

UnitonSaveInstanceState(Bundle outState)