showNepaliDatePickerDialog

fun showNepaliDatePickerDialog(activity: Activity, initialSelectedDate: SimpleDate? = null, locale: NepaliDateLocale = NepaliDatePickerDefaults.DefaultLocale, yearRange: IntRange = NepaliCalendarDefaults.NepaliYearRange, selectableDates: NepaliSelectableDates? = null, showModeToggle: Boolean = true, showTodayButton: Boolean = true, showEnglishDate: Boolean = false, englishDateLocale: NepaliDateLocale? = null, initialCalendarSystem: CalendarSystem = CalendarSystem.BIKRAM_SAMBAT, showCalendarSystemToggle: Boolean = false, showAdjacentMonthDays: Boolean = false, events: NepaliEventOptions? = null, confirmText: String = EmbeddedPickerDefaults.DIALOG_CONFIRM_TEXT, dismissText: String = EmbeddedPickerDefaults.DIALOG_DISMISS_TEXT, tonalElevation: Float = EmbeddedPickerDefaults.DIALOG_TONAL_ELEVATION, cornerRadius: Float = EmbeddedPickerDefaults.DIALOG_CORNER_RADIUS, onConfirm: (CustomCalendar?) -> Unit, onDismiss: () -> Unit): NepaliDialogHandle(source)

Shows the picker in a modal dialog over activity's content, closing itself on either button. Mirrors the iOS NepaliDatePickerDialogViewController parameter for parameter.

onConfirm receives the selection, null when confirming with nothing selected; onDismiss fires for the dismiss button, a tap outside and the back gesture.