public class HFCalendarDialog
extends android.app.Dialog
| Modifier and Type | Class and Description |
|---|---|
static interface |
HFCalendarDialog.OnDialogCallback
Callback
|
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener| Modifier and Type | Field and Description |
|---|---|
private CalendarGridAdapter |
mCalendarGridAdapter |
private HFCalendarDialog.OnDialogCallback |
mCallback |
private int |
mCurrentDate |
private int |
mCurrentMonth |
private int |
mCurrentYear |
private android.support.v7.widget.RecyclerView |
mRecyclerView |
private java.lang.String |
mSelectDate |
private android.widget.TextView |
mTextViewTitle |
(package private) CalendarGridAdapter.OnCalendarListener |
onCalendarListener
CalendarGridAdapter.OnCalendarListener
|
(package private) android.view.View.OnClickListener |
onClickListener
Callback
|
| Constructor and Description |
|---|
HFCalendarDialog(android.content.Context context) |
HFCalendarDialog(android.content.Context context,
int themeResId) |
HFCalendarDialog(android.content.Context context,
java.lang.String selectDate,
HFCalendarDialog.OnDialogCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
private void |
initData() |
private void |
nextMonth() |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
private void |
previousMonth() |
addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenuprivate android.widget.TextView mTextViewTitle
private android.support.v7.widget.RecyclerView mRecyclerView
private CalendarGridAdapter mCalendarGridAdapter
private int mCurrentYear
private int mCurrentMonth
private int mCurrentDate
private java.lang.String mSelectDate
private HFCalendarDialog.OnDialogCallback mCallback
android.view.View.OnClickListener onClickListener
CalendarGridAdapter.OnCalendarListener onCalendarListener
public HFCalendarDialog(@NonNull
android.content.Context context)
public HFCalendarDialog(@NonNull
android.content.Context context,
@StyleRes
int themeResId)
public HFCalendarDialog(@NonNull
android.content.Context context,
@Nullable
java.lang.String selectDate,
@Nullable
HFCalendarDialog.OnDialogCallback callback)