material/src/main/java/com/rey/material/dialog/SimpleDialog.java
public SimpleDialog items(CharSequence[] items, int selectedIndex) {
        if (mListView == null)
            initListView();

        mMode = MODE_ITEMS;
        mAdapter.setItems(items, selectedIndex);
        super.contentView(mListView);
        return this;
    }
/**
     * Set the list of items in single-choice mode.
     *
     * @param items         The list of items.
     * @param selectedIndex The index of selected item.
     * @return The SimpleDialog for chaining methods.
     */
Set the list of items in single-choice mode.
@param items         The list of items.
@param selectedIndex The index of selected item.
@return The SimpleDialog for chaining methods.
Set the list of items in single - choice mode . @param items The list of items . @param selectedIndex The index of selected item . @return The SimpleDialog for chaining methods .
public SimpleDialog items(CharSequence[] items, int selectedIndex) {
        if (mListView == null)
            initListView();
        mMode = MODE_ITEMS;
        mAdapter.setItems(items, selectedIndex);
        super.contentView(mListView);
        return this;
    }
public SimpleDialog items ( CharSequence [ ] items , int selectedIndex ) { if ( mListView == null ) initListView ( ) ; mMode = MODE_ITEMS ; mAdapter . setItems ( items , selectedIndex ) ; super . contentView ( mListView ) ; return this ; }
Set the list of items in single-choice mode.
Set the list of items in single - choice mode .