setItems
open fun setItems(@ArrayRes itemsId: Int, listener: DialogInterface.OnClickListener): AlertDialog.Builder(source)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. This should be an array type i.e. R.array.foo
Return
This Builder object to allow for chaining of calls to set methods
open fun setItems(items: Array<CharSequence>, listener: DialogInterface.OnClickListener): AlertDialog.Builder(source)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener.
Return
This Builder object to allow for chaining of calls to set methods