public class TimeZonePickerFragment
extends android.app.DialogFragment
implements android.content.DialogInterface.OnClickListener
Modifier and Type | Class and Description |
---|---|
static interface |
TimeZonePickerFragment.TimeZonePickerListener
Interface for the listener for an instance of the time zone dialog results.
|
Constructor and Description |
---|
TimeZonePickerFragment() |
Modifier and Type | Method and Description |
---|---|
void |
init(java.util.TimeZone timeZone,
TimeZonePickerFragment.TimeZonePickerListener listener)
Initialize the time zone picker with the time zone and a listener.
|
void |
onClick(android.content.DialogInterface dialog,
int which) |
android.app.Dialog |
onCreateDialog(android.os.Bundle savedInstanceState) |
dismiss, dismissAllowingStateLoss, dump, getDialog, getShowsDialog, getTheme, isCancelable, onActivityCreated, onAttach, onCancel, onCreate, onDestroyView, onDetach, onDismiss, onGetLayoutInflater, onSaveInstanceState, onStart, onStop, setCancelable, setShowsDialog, setStyle, show, show
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, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onResume, onTrimMemory, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public void init(java.util.TimeZone timeZone, TimeZonePickerFragment.TimeZonePickerListener listener)
timeZone
- the timezone to set as the defaultlistener
- the listener for the result of the time zone pickpublic android.app.Dialog onCreateDialog(android.os.Bundle savedInstanceState)
onCreateDialog
in class android.app.DialogFragment
public void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener