public class DisplayDialogFragment extends BaseDialogFragment<ActionHandler>
A DisplayDialog is a dialog which can be used to display something that does not require much interaction from user-side. A good example is a progress-dialog.
controller| Constructor and Description |
|---|
DisplayDialogFragment()
Default constructor that creates and initializes a new instance of the
DisplayDialogFragment-class. |
| Modifier and Type | Method and Description |
|---|---|
static DisplayDialogFragment |
createDialog(int dialogResourceID)
Convenience method to easily create a new dialog-fragment by providing the appropriate
resource-id.
|
static DisplayDialogFragment |
createDialog(int dialogResourceID,
ViewInterceptor viewInterceptor)
Convenience method to easily create a new dialog-fragment by providing the appropriate
resource-id and a ViewInterceptor.
|
void |
onClick(android.content.DialogInterface dialog,
int which) |
void |
populateDialog(android.app.AlertDialog.Builder builder,
android.os.Bundle arguments)
Abstract method to populate the given builder-object with appropriate
content.
|
callInterceptor, getDialogTag, getViewInterceptor, isRegisterHandler, onAttach, onCreateDialog, setActionHandler, setRegisterHandler, setViewInterceptordismiss, dismissAllowingStateLoss, dump, getDialog, getShowsDialog, getTheme, isCancelable, onActivityCreated, onCancel, onCreate, onDestroyView, onDetach, onDismiss, onSaveInstanceState, onStart, onStop, setCancelable, setShowsDialog, setStyle, show, showequals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getEnterTransition, getExitTransition, getFragmentManager, getId, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isVisible, onActivityResult, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onTrimMemory, onViewCreated, onViewStateRestored, registerForContextMenu, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, startActivity, startActivity, startActivityForResult, startActivityForResult, toString, unregisterForContextMenuclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetActivity, getArgumentspublic DisplayDialogFragment()
DisplayDialogFragment-class.public void populateDialog(android.app.AlertDialog.Builder builder,
android.os.Bundle arguments)
BaseDialogFragmentpopulateDialog in interface DialogFragmentInterfacepopulateDialog in class BaseDialogFragment<ActionHandler>builder - The Builder-object that should be populated and represents the
actual dialogarguments - The arguments of the DialogFragment, as retrievable via getArguments().public static DisplayDialogFragment createDialog(int dialogResourceID)
Convenience method to easily create a new dialog-fragment by providing the appropriate resource-id.
The method takes care of proper instantiation and initialization of the the fragment, and then returns it.
dialogResourceID - The layout resource ID which should be displayed by this dialog fragment.DisplayDialogFragment object.public static DisplayDialogFragment createDialog(int dialogResourceID, ViewInterceptor viewInterceptor)
Convenience method to easily create a new dialog-fragment by providing the appropriate resource-id and a ViewInterceptor.
The method takes care of proper instantiation and initialization of the the fragment, and then returns it.
dialogResourceID - The layout resource ID which should be displayed by this dialog fragment.viewInterceptor - The ViewInterceptor-object that should be used to cease control over the
dialog's view-elements.DisplayDialogFragment object.public void onClick(android.content.DialogInterface dialog,
int which)