예제 #1
0
 public void dismissDialog(boolean mustRemoreItem) {
   if (mustRemoreItem) {
     removeItem(position);
   }
   commonDialog.dismiss();
 }
예제 #2
0
 public SingleChatAdapter(Context context) {
   list = new ArrayList<MessageBean>();
   this.context = context;
   commonDialog = new CommonDialog(context);
   commonDialog.setOnDialogClickListener(new MyOnDialogClickListener());
 }