-
- All Implemented Interfaces:
-
android.content.DialogInterface
,android.content.DialogInterface.OnClickListener
,android.view.KeyEvent.Callback
,android.view.View.OnCreateContextMenuListener
,android.view.Window.Callback
,androidx.appcompat.app.AppCompatCallback
public final class MonthYearPickerDialog extends AlertDialog implements DialogInterface.OnClickListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MonthYearPickerDialog.Builder
Builder for MonthYearPickerDialog.
public interface
MonthYearPickerDialog.OnDateSetListener
Interface definition for a callback to be invoked when user has selected month and year.
public interface
MonthYearPickerDialog.OnMonthSelectedListener
Interface definition for a callback to be invoked when user has selected month.
public interface
MonthYearPickerDialog.OnYearSelectedListener
Interface definition for a callback to be invoked when user has selected year.
public enum
MonthYearPickerDialog.Mode
Enum that defines UI mode of dialog.
-
Field Summary
Fields Modifier and Type Field Description private final AlertController
mAlert
-
Method Summary
Modifier and Type Method Description Unit
onClick(DialogInterface dialog, Integer which)
-
Methods inherited from class androidx.appcompat.app.AppCompatDialog
cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
-
Methods inherited from class androidx.appcompat.app.AlertDialog
addContentView, dismiss, dispatchKeyEvent, findViewById, getDelegate, getSupportActionBar, invalidateOptionsMenu, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onWindowStartingSupportActionMode, setContentView, setContentView, setContentView, setTitle, superDispatchKeyEvent, supportRequestWindowFeature
-
Methods inherited from class android.app.Dialog
onPointerCaptureChanged, onProvideKeyboardShortcuts
-
Methods inherited from class by.dzmitry_lakisau.month_year_picker_dialog.MonthYearPickerDialog
getButton, getListView, onCreate, onKeyDown, onKeyUp, setButton, setButton, setButton, setButtonPanelLayoutHint, setCustomTitle, setIcon, setIcon, setIconAttribute, setMessage, setTitle, setView, setView
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onClick
Unit onClick(DialogInterface dialog, Integer which)
-
-
-
-