setAdapter

Set a list of items, which are supplied by the given ListAdapter, 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

adapter

The ListAdapter to supply the list of items

listener

The listener that will be called when an item is clicked.