neutralButton

inline fun AlertDialog.Builder.neutralButton(text: String, crossinline handleClick: (i: Int) -> Unit = {})

Helper method to create neutral button for Alert dialog and listen to the button's click

Parameters

text

Positive Button Text

handleClick

Callback that works as click listener when neutral button is clicked