public abstract class OptionPickerView {
public OptionPickerView(List<String> optionsList1, Activity activity) {
//条件选择器
OptionsPickerView pvOptions = new OptionsPickerBuilder(activity,
(options1, options2, options3, v) -> {
//返回的分别是三个级别的选中位置
String optionsText1 = "";
String optionsText2 = "";
String optionsText3 = "";
if (optionsList1 != null && optionsList1.size() > 0) {
optionsText1 = optionsList1.get(options1);
}
setResult(optionsText1, optionsText2, optionsText3);
}).build();
if (optionsList1 != null && optionsList1.size() > 0) {
pvOptions.setPicker(optionsList1);
pvOptions.show();
}
}
public OptionPickerView(List<String
|