Class MAMDialogFragment
-
- All Implemented Interfaces:
-
android.content.ComponentCallbacks,android.content.ComponentCallbacks2,android.content.DialogInterface.OnCancelListener,android.content.DialogInterface.OnDismissListener,android.view.View.OnCreateContextMenuListener,com.microsoft.intune.mam.client.app.HookedDialogFragment,com.microsoft.intune.mam.client.app.HookedDialogFragmentBase,com.microsoft.intune.mam.client.app.HookedFragmentBase
public class MAMDialogFragment extends DialogFragment implements HookedDialogFragmentMAM version of android.app.DialogFragment.
-
-
Field Summary
Fields Modifier and Type Field Description public final static intSTYLE_NORMALpublic final static intSTYLE_NO_FRAMEpublic final static intSTYLE_NO_INPUTpublic final static intSTYLE_NO_TITLEpublic final static intTRIM_MEMORY_BACKGROUNDpublic final static intTRIM_MEMORY_COMPLETEpublic final static intTRIM_MEMORY_MODERATEpublic final static intTRIM_MEMORY_RUNNING_CRITICALpublic final static intTRIM_MEMORY_RUNNING_LOWpublic final static intTRIM_MEMORY_RUNNING_MODERATEpublic final static intTRIM_MEMORY_UI_HIDDEN
-
Constructor Summary
Constructors Constructor Description MAMDialogFragment()
-
Method Summary
Modifier and Type Method Description final voidonActivityCreated(Bundle savedInstanceState)voidonMAMActivityCreated(Bundle savedInstanceState)MAM version of onActivityCreated. final voidonAttach(Activity activity)final voidonAttach(Context context)voidonMAMAttach(Activity activity)MAM version of onAttach. voidonMAMAttach(Context context)MAM version of onAttach. final voidonCreate(Bundle savedInstanceState)voidonMAMCreate(Bundle savedInstanceState)MAM version of onCreate. final DialogonCreateDialog(Bundle savedInstanceState)DialogonMAMCreateDialog(Bundle savedInstanceState)MAM version of onCreateDialog. final voidonDestroy()voidonMAMDestroy()MAM version of onDestroy. final voidonDetach()voidonMAMDetach()MAM version of onDetach. final voidonPause()voidonMAMPause()MAM version of onPause. final voidonResume()voidonMAMResume()MAM version on onResume. final voidonStart()voidonMAMStart()MAM version of onStart. final voidonStop()voidonMAMStop()MAM version of onStop. final voidonActivityResult(int requestCode, int resultCode, Intent data)voidonMAMActivityResult(int requestCode, int resultCode, Intent data)MAM version of onActivityResult. final AnimatoronCreateAnimator(int transit, boolean enter, int nextAnim)AnimatoronMAMCreateAnimator(int transit, boolean enter, int nextAnim)MAM version of onCreateAnimator. final voidonCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)voidonMAMCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)MAM version of onCreateContextMenu. final voidonCreateOptionsMenu(Menu menu, MenuInflater inflater)voidonMAMCreateOptionsMenu(Menu menu, MenuInflater inflater)MAM version of onCreateOptionsMenu. final ViewonCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)ViewonMAMCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)MAM version of onCreateView. final voidonDestroyOptionsMenu()voidonMAMDestroyOptionsMenu()MAM version of onDestroyOptionsMenu. voidonDestroyView()voidonMAMDestroyView()MAM version of onDestroyView. final voidonViewCreated(View view, Bundle savedInstanceState)voidonMAMViewCreated(View view, Bundle savedInstanceState)MAM version of onViewCreated. final voidonViewStateRestored(Bundle savedInstanceState)voidonMAMViewStateRestored(Bundle savedInstanceState)MAM version of onViewStateRestored. final voidonSaveInstanceState(Bundle outState)voidonMAMSaveInstanceState(Bundle outState)MAM version of onSaveInstanceState. -
Methods inherited from class android.app.DialogFragment
dismiss, dismissAllowingStateLoss, dump, getDialog, getShowsDialog, getTheme, isCancelable, onCancel, onDismiss, onGetLayoutInflater, setCancelable, setShowsDialog, setStyle, show, show -
Methods inherited from class android.app.Fragment
equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onAttachFragment, onConfigurationChanged, onContextItemSelected, onHiddenChanged, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onTrimMemory, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onActivityCreated
final void onActivityCreated(Bundle savedInstanceState)
-
onMAMActivityCreated
void onMAMActivityCreated(Bundle savedInstanceState)
MAM version of onActivityCreated.
- Parameters:
savedInstanceState- saved instance state
-
onAttach
final void onAttach(Activity activity)
-
onAttach
@RequiresApi(value = Build.VERSION_CODES.M) final void onAttach(Context context)
-
onMAMAttach
void onMAMAttach(Activity activity)
MAM version of onAttach.
- Parameters:
activity- activity
-
onMAMAttach
@RequiresApi(value = Build.VERSION_CODES.M) void onMAMAttach(Context context)
MAM version of onAttach.
- Parameters:
context- context
-
onCreate
final void onCreate(Bundle savedInstanceState)
-
onMAMCreate
void onMAMCreate(Bundle savedInstanceState)
MAM version of onCreate.
- Parameters:
savedInstanceState- saved instance state
-
onCreateDialog
final Dialog onCreateDialog(Bundle savedInstanceState)
-
onMAMCreateDialog
Dialog onMAMCreateDialog(Bundle savedInstanceState)
MAM version of onCreateDialog.
- Parameters:
savedInstanceState- saved instance state- Returns:
A new Dialog instance
-
onDestroy
final void onDestroy()
-
onMAMDestroy
void onMAMDestroy()
MAM version of onDestroy.
-
onDetach
final void onDetach()
-
onMAMDetach
void onMAMDetach()
MAM version of onDetach.
-
onPause
final void onPause()
-
onMAMPause
void onMAMPause()
MAM version of onPause.
-
onResume
final void onResume()
-
onMAMResume
void onMAMResume()
MAM version on onResume.
-
onStart
final void onStart()
-
onMAMStart
void onMAMStart()
MAM version of onStart.
-
onStop
final void onStop()
-
onMAMStop
void onMAMStop()
MAM version of onStop.
-
onActivityResult
final void onActivityResult(int requestCode, int resultCode, Intent data)
-
onMAMActivityResult
void onMAMActivityResult(int requestCode, int resultCode, Intent data)
MAM version of onActivityResult.
- Parameters:
requestCode- see Fragment.resultCode- see Fragment.data- see Fragment.
-
onCreateAnimator
final Animator onCreateAnimator(int transit, boolean enter, int nextAnim)
-
onMAMCreateAnimator
Animator onMAMCreateAnimator(int transit, boolean enter, int nextAnim)
MAM version of onCreateAnimator.
- Parameters:
transit- see Fragment.enter- see Fragment.nextAnim- see Fragment.- Returns:
animator
-
onCreateContextMenu
final void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
-
onMAMCreateContextMenu
void onMAMCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
MAM version of onCreateContextMenu.
- Parameters:
menu- see Fragment.v- see Fragment.menuInfo- see Fragment.
-
onCreateOptionsMenu
final void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
-
onMAMCreateOptionsMenu
void onMAMCreateOptionsMenu(Menu menu, MenuInflater inflater)
MAM version of onCreateOptionsMenu.
- Parameters:
menu- see Fragment.inflater- see Fragment.
-
onCreateView
final View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
-
onMAMCreateView
View onMAMCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
MAM version of onCreateView.
- Parameters:
inflater- see Fragment.container- see Fragment.savedInstanceState- see Fragment.- Returns:
see Fragment.onCreateView
-
onDestroyOptionsMenu
final void onDestroyOptionsMenu()
-
onMAMDestroyOptionsMenu
void onMAMDestroyOptionsMenu()
MAM version of onDestroyOptionsMenu.
-
onDestroyView
void onDestroyView()
-
onMAMDestroyView
void onMAMDestroyView()
MAM version of onDestroyView.
-
onViewCreated
final void onViewCreated(View view, Bundle savedInstanceState)
-
onMAMViewCreated
void onMAMViewCreated(View view, Bundle savedInstanceState)
MAM version of onViewCreated.
- Parameters:
view- see Fragment.savedInstanceState- see Fragment.
-
onViewStateRestored
final void onViewStateRestored(Bundle savedInstanceState)
-
onMAMViewStateRestored
void onMAMViewStateRestored(Bundle savedInstanceState)
MAM version of onViewStateRestored.
- Parameters:
savedInstanceState- see Fragment.
-
onSaveInstanceState
final void onSaveInstanceState(Bundle outState)
-
onMAMSaveInstanceState
void onMAMSaveInstanceState(Bundle outState)
MAM version of onSaveInstanceState.
- Parameters:
outState- see Fragment.
-
-
-
-