예제 #1
0
 public void onClick(DialogInterface dialoginterface, int i) {
   a.setSelection(i);
   if (a.mOnItemClickListener != null) {
     a.performItemClick(null, i, c.getItemId(i));
   }
   a();
 }
예제 #2
0
 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();
 }