/// <summary> /// 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. /// </summary> /// <param name="items"> the items to be displayed. </param> /// <param name="checkedItem"> specifies which item is checked. If -1 no items are checked. </param> /// <param name="listener"> notified when an item on the list is clicked. The dialog will not be dismissed when an item is clicked. It will only be dismissed if clicked on a button, if no buttons are supplied it's up to the user to dismiss the dialog. </param> /// <returns> This </returns> public virtual Builder SetSingleChoiceItems(string[] items, int checkedItem, IDialogInterfaceOnClickListener listener) { builder.SetItems(items); builder.SetItemsCallbackSingleChoice(checkedItem, new ListCallbackSingleChoiceAnonymousInnerClassHelper(this, listener)); return(this); }