public class SignInFragment extends android.support.v4.app.Fragment implements AccountSwitcherProxy.AccountSwitcherListener
Modifier and Type | Field and Description |
---|---|
static String |
FRAGMENT_TAG |
static String |
TAG |
Constructor and Description |
---|
SignInFragment() |
SignInFragment(ExoAccount account) |
Modifier and Type | Method and Description |
---|---|
void |
onAccountInvalid(ExoAccount account)
Called when the account doesn't contain a URL.
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onMissingPassword(ExoAccount account)
Called when the switcher proxy detected that the password was missing
for the account
|
void |
onSaveInstanceState(android.os.Bundle outState) |
void |
onSwitchAccountFinished(boolean result)
Called when the switch operation is finished, successful or not.
|
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isVisible, onActivityCreated, onActivityResult, onAttach, onAttach, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onHiddenChanged, onInflate, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onRequestPermissionsResult, onResume, onStart, onStop, onViewCreated, onViewStateRestored, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivityForResult, toString, unregisterForContextMenu
public static final String FRAGMENT_TAG
public static final String TAG
public SignInFragment()
public SignInFragment(ExoAccount account)
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
onCreateView
in class android.support.v4.app.Fragment
public void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState
in class android.support.v4.app.Fragment
public void onSwitchAccountFinished(boolean result)
AccountSwitcherProxy.AccountSwitcherListener
onSwitchAccountFinished
in interface AccountSwitcherProxy.AccountSwitcherListener
result
- true if switching is successful, false otherwisepublic void onMissingPassword(ExoAccount account)
AccountSwitcherProxy.AccountSwitcherListener
onMissingPassword
in interface AccountSwitcherProxy.AccountSwitcherListener
account
- the account whose password is missingpublic void onAccountInvalid(ExoAccount account)
AccountSwitcherProxy.AccountSwitcherListener
onAccountInvalid
in interface AccountSwitcherProxy.AccountSwitcherListener
account
- the invalid ExoAccountCopyright © 2003–2016 eXo Platform SAS. All rights reserved.