public class RecurrencePickerDialogFragment extends DialogFragment implements android.widget.AdapterView.OnItemSelectedListener, android.widget.CompoundButton.OnCheckedChangeListener, android.view.View.OnClickListener, android.widget.RadioGroup.OnCheckedChangeListener, CalendarDatePickerDialogFragment.OnDateSetListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
RecurrencePickerDialogFragment.OnRecurrenceSetListener |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUNDLE_HIDE_SWITCH_BUTTON |
static java.lang.String |
BUNDLE_RRULE |
static java.lang.String |
BUNDLE_START_TIME_MILLIS |
static java.lang.String |
BUNDLE_TIME_ZONE |
static int |
LAST_NTH_DAY_OF_WEEK |
| Constructor and Description |
|---|
RecurrencePickerDialogFragment() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canHandleRecurrenceRule(EventRecurrence er) |
static boolean |
isSupportedMonthlyByNthDayOfWeek(int num) |
void |
onActivityCreated(android.os.Bundle savedInstanceState) |
void |
onCheckedChanged(android.widget.CompoundButton buttonView,
boolean isChecked) |
void |
onCheckedChanged(android.widget.RadioGroup group,
int checkedId) |
void |
onClick(android.view.View v) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onDateSet(CalendarDatePickerDialogFragment view,
int year,
int monthOfYear,
int dayOfMonth) |
void |
onDismiss(android.content.DialogInterface dialoginterface) |
void |
onItemSelected(android.widget.AdapterView<?> parent,
android.view.View view,
int position,
long id) |
void |
onNothingSelected(android.widget.AdapterView<?> arg0) |
void |
onSaveInstanceState(android.os.Bundle outState) |
RecurrencePickerDialogFragment |
setOnDismissListener(OnDialogDismissListener ondialogdismisslistener) |
void |
setOnRecurrenceSetListener(RecurrencePickerDialogFragment.OnRecurrenceSetListener l) |
void |
updateDialog() |
public static final int LAST_NTH_DAY_OF_WEEK
public static final java.lang.String BUNDLE_START_TIME_MILLIS
public static final java.lang.String BUNDLE_TIME_ZONE
public static final java.lang.String BUNDLE_RRULE
public static final java.lang.String BUNDLE_HIDE_SWITCH_BUTTON
public static boolean isSupportedMonthlyByNthDayOfWeek(int num)
public static boolean canHandleRecurrenceRule(EventRecurrence er)
public android.view.View onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
public void onDismiss(android.content.DialogInterface dialoginterface)
public void onSaveInstanceState(android.os.Bundle outState)
public void updateDialog()
public void onItemSelected(android.widget.AdapterView<?> parent,
android.view.View view,
int position,
long id)
onItemSelected in interface android.widget.AdapterView.OnItemSelectedListenerpublic void onNothingSelected(android.widget.AdapterView<?> arg0)
onNothingSelected in interface android.widget.AdapterView.OnItemSelectedListenerpublic void onDateSet(CalendarDatePickerDialogFragment view, int year, int monthOfYear, int dayOfMonth)
onDateSet in interface CalendarDatePickerDialogFragment.OnDateSetListenerview - The view associated with this listener.year - The year that was set.monthOfYear - The month that was set (0-11) for compatibility with Calendar.dayOfMonth - The day of the month that was set.public void onCheckedChanged(android.widget.CompoundButton buttonView,
boolean isChecked)
onCheckedChanged in interface android.widget.CompoundButton.OnCheckedChangeListenerpublic void onCheckedChanged(android.widget.RadioGroup group,
int checkedId)
onCheckedChanged in interface android.widget.RadioGroup.OnCheckedChangeListenerpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic void onActivityCreated(android.os.Bundle savedInstanceState)
public void setOnRecurrenceSetListener(RecurrencePickerDialogFragment.OnRecurrenceSetListener l)
public RecurrencePickerDialogFragment setOnDismissListener(OnDialogDismissListener ondialogdismisslistener)