public static SlideDateTimeDialogFragment NewInstance(SlideDateTimeListener listener, DateTime initialDate, DateTime minDate, DateTime maxDate, bool isClientSpecified24HourTime, bool is24HourTime, int theme, int indicatorColor) { mListener = listener; SlideDateTimeDialogFragment dialogFragment = new SlideDateTimeDialogFragment(); Bundle bundle = new Bundle(); bundle.PutLong("initialDate", initialDate.Ticks); bundle.PutLong("minDate", minDate.Ticks); bundle.PutLong("maxDate", maxDate.Ticks); bundle.PutBoolean("isClientSpecified24HourTime", isClientSpecified24HourTime); bundle.PutBoolean("is24HourTime", is24HourTime); bundle.PutInt("theme", theme); bundle.PutInt("indicatorColor", indicatorColor); dialogFragment.Arguments = bundle; return(dialogFragment); }
public void SetListener(SlideDateTimeListener listener) { mListener = listener; }
public Builder SetListener(SlideDateTimeListener listener) { this.listener = listener; return(this); }
public static SlideDateTimeDialogFragment NewInstance(SlideDateTimeListener listener, DateTime initialDate, DateTime minDate, DateTime maxDate, bool isClientSpecified24HourTime, bool is24HourTime, int theme, int indicatorColor) { mListener = listener; SlideDateTimeDialogFragment dialogFragment = new SlideDateTimeDialogFragment(); Bundle bundle = new Bundle(); bundle.PutLong("initialDate", initialDate.Ticks); bundle.PutLong("minDate", minDate.Ticks); bundle.PutLong("maxDate", maxDate.Ticks); bundle.PutBoolean("isClientSpecified24HourTime", isClientSpecified24HourTime); bundle.PutBoolean("is24HourTime", is24HourTime); bundle.PutInt("theme", theme); bundle.PutInt("indicatorColor", indicatorColor); dialogFragment.Arguments = bundle; return dialogFragment; }
public Builder SetListener(SlideDateTimeListener listener) { this.listener = listener; return this; }