public class NaviDialogFragment extends DialogFragment implements NaviComponent
Fragment.InstantiationException, Fragment.SavedStateSTYLE_NO_FRAME, STYLE_NO_INPUT, STYLE_NO_TITLE, STYLE_NORMAL| Constructor and Description |
|---|
NaviDialogFragment() |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addListener(Event<T> event,
Listener<T> listener)
Adds a listener to this component.
|
boolean |
handlesEvents(Event... events)
Determines whether this component can handle particular events.
|
void |
onActivityCreated(Bundle savedInstanceState) |
void |
onActivityResult(int requestCode,
int resultCode,
Intent data) |
void |
onAttach(Activity activity) |
void |
onAttach(Context context) |
void |
onConfigurationChanged(Configuration newConfig) |
void |
onCreate(Bundle savedInstanceState) |
View |
onCreateView(LayoutInflater inflater,
ViewGroup container,
Bundle savedInstanceState) |
void |
onDestroy() |
void |
onDestroyView() |
void |
onDetach() |
void |
onPause() |
void |
onRequestPermissionsResult(int requestCode,
String[] permissions,
int[] grantResults) |
void |
onResume() |
void |
onSaveInstanceState(Bundle outState) |
void |
onStart() |
void |
onStop() |
void |
onViewStateRestored(Bundle savedInstanceState) |
<T> void |
removeListener(Listener<T> listener)
Removes a listener from this component.
|
dismiss, dismissAllowingStateLoss, getDialog, getLayoutInflater, getShowsDialog, getTheme, isCancelable, onCancel, onCreateDialog, onDismiss, setCancelable, setShowsDialog, setStyle, setupDialog, show, showdump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, 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, onContextItemSelected, onCreateAnimation, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onLowMemory, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, onViewCreated, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivityForResult, toString, unregisterForContextMenupublic boolean handlesEvents(Event... events)
NaviComponenthandlesEvents in interface NaviComponentevents - the events to checkpublic <T> void addListener(Event<T> event, Listener<T> listener)
NaviComponentaddListener in interface NaviComponentT - the callback type for the eventevent - an Eventlistener - the listener for that eventpublic <T> void removeListener(Listener<T> listener)
NaviComponentremoveListener in interface NaviComponentT - the callback type for the eventlistener - the listener for that eventpublic void onAttach(Activity activity)
onAttach in class DialogFragmentpublic void onCreate(Bundle savedInstanceState)
onCreate in class DialogFragmentpublic View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
onCreateView in class Fragmentpublic void onActivityCreated(Bundle savedInstanceState)
onActivityCreated in class DialogFragmentpublic void onViewStateRestored(Bundle savedInstanceState)
onViewStateRestored in class Fragmentpublic void onStart()
onStart in class DialogFragmentpublic void onStop()
onStop in class DialogFragmentpublic void onDestroyView()
onDestroyView in class DialogFragmentpublic void onDetach()
onDetach in class DialogFragmentpublic void onSaveInstanceState(Bundle outState)
onSaveInstanceState in class DialogFragmentpublic void onConfigurationChanged(Configuration newConfig)
onConfigurationChanged in interface ComponentCallbacksonConfigurationChanged in class Fragmentpublic void onActivityResult(int requestCode,
int resultCode,
Intent data)
onActivityResult in class Fragmentpublic void onRequestPermissionsResult(int requestCode,
String[] permissions,
int[] grantResults)
onRequestPermissionsResult in class Fragment