public void onClick(DialogInterface dialoginterface, int i) { a.setSelection(i); if (a.mOnItemClickListener != null) { a.performItemClick(null, i, c.getItemId(i)); } a(); }
public void c() { if (c == null) { return; } android.app.AlertDialog.Builder builder = new android.app.AlertDialog.Builder(a.getContext()); if (d != null) { builder.setTitle(d); } b = builder.setSingleChoiceItems(c, a.getSelectedItemPosition(), this).create(); b.show(); }