public class DatePickerFragment
extends android.app.DialogFragment
implements android.app.DatePickerDialog.OnDateSetListener
Modifier and Type | Class and Description |
---|---|
static interface |
DatePickerFragment.DatePickerListener |
Constructor and Description |
---|
DatePickerFragment() |
Modifier and Type | Method and Description |
---|---|
void |
init(long initialTime,
DatePickerFragment.DatePickerListener listener,
long minDate,
long maxDate) |
void |
init(long initialTime,
DatePickerFragment.DatePickerListener listener,
long minDate,
long maxDate,
java.util.TimeZone timeZone) |
android.app.Dialog |
onCreateDialog(android.os.Bundle savedInstanceState) |
void |
onDateSet(android.widget.DatePicker datePicker,
int y,
int m,
int dom) |
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(long initialTime, DatePickerFragment.DatePickerListener listener, long minDate, long maxDate)
public void init(long initialTime, DatePickerFragment.DatePickerListener listener, long minDate, long maxDate, java.util.TimeZone timeZone)
public android.app.Dialog onCreateDialog(android.os.Bundle savedInstanceState)
onCreateDialog
in class android.app.DialogFragment
public void onDateSet(android.widget.DatePicker datePicker, int y, int m, int dom)
onDateSet
in interface android.app.DatePickerDialog.OnDateSetListener