setCursor
open fun setCursor(cursor: Cursor, listener: DialogInterface.OnClickListener, labelColumn: String): AlertDialog.Builder(source)
Set a list of items, which are supplied by the given Cursor, 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
Parameters
cursor
The Cursor to supply the list of items
listener
The listener that will be called when an item is clicked.
labelColumn
The column name on the cursor containing the string to display in the label.