Builder
fun Builder(context: Context, @StyleRes themeResId: Int, onDateSetListener: MonthYearPickerDialog.OnDateSetListener? = null, selectedYear: Int = Calendar.getInstance()[Calendar.YEAR], @IntRange(from = 0, to = 11 ) selectedMonth: Int = Calendar.getInstance()[Calendar.MONTH])
Content copied to clipboard
Parameters
context
parent context.
theme Res Id
resource ID of the theme against which to inflate this dialog.
on Date Set Listener
the listener to be invoked when user sets the date. Default value is null.
selected Year
initially selected year. Default value is current year.
selected Month
initially selected month in range from Calendar.JANUARY to Calendar.DECEMBER. Default value is current month.