onMultiplePositive

fun onMultiplePositive(multipleListener: CalendarMultipleDatesListener)

Set a listener. (Multiple dates selection mode)

Parameters

multipleListener

Listener that is invoked when the positive button is clicked.


fun onMultiplePositive(@StringRes positiveRes: Int, multipleListener: CalendarMultipleDatesListener? = null)

Set the text of the positive button and optionally a listener. (Multiple dates selection mode)

Parameters

positiveRes

The String resource id for the positive button.

multipleListener

Listener that is invoked when the positive button is clicked.


fun onMultiplePositive(positiveText: String, multipleListener: CalendarMultipleDatesListener? = null)

Set the text of the positive button and optionally a listener. (Multiple dates selection mode)

Parameters

positiveText

The text for the positive button.

multipleListener

Listener that is invoked when the positive button is clicked.


fun onMultiplePositive(    @StringRes positiveRes: Int,     @DrawableRes drawableRes: Int,     multipleListener: CalendarMultipleDatesListener? = null)

Set the text and icon of the positive button and optionally a listener. (Multiple dates selection mode)

Parameters

positiveRes

The String resource id for the positive button.

drawableRes

The drawable resource for the button icon.

multipleListener

Listener that is invoked when the positive button is clicked.


fun onMultiplePositive(    positiveText: String,     @DrawableRes drawableRes: Int,     multipleListener: CalendarMultipleDatesListener? = null)

Set the text and icon of the positive button and optionally a listener. (Multiple dates selection mode)

Parameters

positiveText

The text for the positive button.

drawableRes

The drawable resource for the button icon.

multipleListener

Listener that is invoked when the positive button is clicked.


fun onMultiplePositive(    @StringRes positiveRes: Int,     drawable: Drawable,     multipleListener: CalendarMultipleDatesListener? = null)

Set the text and icon of the positive button and optionally a listener. (Multiple dates selection mode)

Parameters

positiveRes

The String resource id for the positive button.

drawable

The drawable for the button icon.

multipleListener

Listener that is invoked when the positive button is clicked.


fun onMultiplePositive(    positiveText: String,     drawable: Drawable,     multipleListener: CalendarMultipleDatesListener? = null)

Set the text and icon of the positive button and optionally a listener. (Multiple dates selection mode)

Parameters

positiveText

The text for the positive button.

drawable

The drawable for the button icon.

multipleListener

Listener that is invoked when the positive button is clicked.