@Override
 public void onClick(View v) {
   if (picker == null) {
     picker = new DatePickerPop(context);
     picker.setOnConfirmListener(
         new DatePickerPop.OnConfirmListener() {
           public void onConfirmClick(String... results) {
             ((TextView) identity_card_verify_view.findViewById(R.id.tv_date_out_line))
                 .setText(results[0] + "-" + results[1] + "-" + results[2]);
             context
                 .task_detail_entity
                 .getLicense()
                 .getIdentifyLicense()
                 .setDeadLine(results[0] + "-" + results[1] + "-" + results[2]);
           }
         });
   }
   picker.show();
 }
    @Override
    public void onClick(final View v) {
      if (pickerPop == null) {
        pickerPop = new DatePickerPop(context);
        pickerPop.setOnConfirmListener(
            new DatePickerPop.OnConfirmListener() {
              public void onConfirmClick(String... results) {
                switch (v.getId()) {
                  case R.id.vg_nianjian_youxiaoqi:
                    ((TextView)
                            driving_license_card_verify_view.findViewById(
                                R.id.tv_nianjian_youxiaoqi))
                        .setText(results[0] + "-" + results[1] + "-" + results[2]);
                    context
                        .task_detail_entity
                        .getLicense()
                        .getDriverLicense()
                        .setLicenseEndTime(results[0] + "-" + results[1] + "-" + results[2]);
                    break;

                  case R.id.vg_registration_date:
                    ((TextView)
                            driving_license_card_verify_view.findViewById(
                                R.id.tv_registration_date))
                        .setText(results[0] + "-" + results[1] + "-" + results[2]);
                    context
                        .task_detail_entity
                        .getLicense()
                        .getDriverLicense()
                        .setRegisteDate(results[0] + "-" + results[1] + "-" + results[2]);
                    break;
                }
              }
            });
      }
      pickerPop.show();
    }