没用setMultiChoiceItems的原因是他不支持绑定Adapter等类的数据源。
setSingleChoiceItems是支持,但是不知道怎么弄。
附上API 8 的 setSingleChoiceItems 解释。想让他多选应该怎么弄。
setSingleChoiceItems(ListAdapter adapter, int checkedItem, DialogInterface.OnClickListener listener)
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.setSingleChoiceItems(int itemsId, int checkedItem, DialogInterface.OnClickListener listener)
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.setSingleChoiceItems(Cursor cursor, int checkedItem, String labelColumn, DialogInterface.OnClickListener listener)
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.