onPositiveMultiple

fun onPositiveMultiple(listener: OptionsListener)

Set the OptionListener.

Parameters

listener

Listener that is invoked with the selected options when the positive button is clicked.


fun onPositiveMultiple(@StringRes positiveRes: Int, listener: OptionsListener? = null)

Set the text of the positive button and set the OptionListener.

Parameters

positiveRes

The String resource id for the positive button.

listener

Listener that is invoked with the selected options when the positive button is clicked.


fun onPositiveMultiple(positiveText: String, listener: OptionsListener? = null)

Set the text of the positive button and set the OptionListener.

Parameters

positiveText

The text for the positive button.

listener

Listener that is invoked with the selected options when the positive button is clicked.


fun onPositiveMultiple(    @StringRes positiveRes: Int,     @DrawableRes drawableRes: Int,     listener: OptionsListener? = null)

Set the text and icon of the positive button and set the OptionListener.

Parameters

positiveRes

The String resource id for the positive button.

drawableRes

The drawable resource for the button icon.

listener

Listener that is invoked with the selected options when the positive button is clicked.


fun onPositiveMultiple(    positiveText: String,     @DrawableRes drawableRes: Int,     listener: OptionsListener? = null)

Set the text and icon of the positive button and set the OptionListener.

Parameters

positiveText

The text for the positive button.

drawableRes

The drawable resource for the button icon.

listener

Listener that is invoked with the selected options when the positive button is clicked.


fun onPositiveMultiple(    @StringRes positiveRes: Int,     drawable: Drawable,     listener: OptionsListener? = null)

Set the text and icon of the positive button and set the OptionListener.

Parameters

positiveRes

The String resource id for the positive button.

drawable

The drawable for the button icon.

listener

Listener that is invoked with the selected options when the positive button is clicked.


fun onPositiveMultiple(    positiveText: String,     drawable: Drawable,     listener: OptionsListener? = null)

Set the text and icon of the positive button and set the OptionListener.

Parameters

positiveText

The text for the positive button.

drawable

The drawable for the button icon.

listener

Listener that is invoked with the selected options when the positive button is clicked.