public void onClick(View v) { if (carPlatePop == null) { carPlatePop = new PickerPop(context, provices, letters); carPlatePop.setOnConfirmListener( new OnConfirmListener() { @Override public void onConfirmClick(int... results) { ((TextView) driving_license_card_verify_view.findViewById(R.id.tv_car_plate1)) .setText(provices[results[0]]); ((TextView) driving_license_card_verify_view.findViewById(R.id.tv_car_plate2)) .setText(letters[results[1]]); } }); } carPlatePop.show(); }
public void onClick(View v) { if (pop == null) { pop = new PickerPop(context, strs); pop.setOnConfirmListener( new OnConfirmListener() { @Override public void onConfirmClick(int... results) { ((TextView) driving_license_card_verify_view.findViewById(R.id.tv_hold_property)) .setText(strs[results[0]]); context .task_detail_entity .getLicense() .getDriverLicense() .setOwnerType(results[0] + ""); } }); } pop.show(); }
public void onClick(View v) { if (pop == null) { pop = new PickerPop(context, strs); pop.setOnConfirmListener( new OnConfirmListener() { @Override public void onConfirmClick(int... results) { identity_card_verify_view .findViewById(R.id.tv_reject_reason) .setVisibility(View.VISIBLE); ((TextView) identity_card_verify_view.findViewById(R.id.tv_reject_reason)) .setText(strs[results[0]]); UIUtils.scrollToBottome(vg_content); context .task_detail_entity .getLicense() .getIdentifyLicense() .setRejectCode((100 + 1 + results[0]) + ""); requestReject(); } }); } pop.show(); }