OptionsPickerView optionsPickerView = new OptionsPickerBuilder(this, new OnOptionsSelectListener() {
@Override
public void onOptionsSelect(int options1, int options2, int options3, View v) {
//返回的分别是三个级别的选中位置
}
})
.setTitleText("城市选择")
.setDividerColor(Color.BLACK)
.setTextColorCenter(Color.BLACK)
.setContentTextSize(20)
.build();
完全照着demo复制过去的,然后就报下面这个错
No field mPickerOptions of type Lcom/bigkoo/pickerview/configure/PickerOptions; in class Lcom/bigkoo/pickerview/view/OptionsPickerView;
OptionsPickerView optionsPickerView = new OptionsPickerBuilder(this, new OnOptionsSelectListener() { @Override public void onOptionsSelect(int options1, int options2, int options3, View v) { //返回的分别是三个级别的选中位置 } }) .setTitleText("城市选择") .setDividerColor(Color.BLACK) .setTextColorCenter(Color.BLACK) .setContentTextSize(20) .build();
完全照着demo复制过去的,然后就报下面这个错 No field mPickerOptions of type Lcom/bigkoo/pickerview/configure/PickerOptions; in class Lcom/bigkoo/pickerview/view/OptionsPickerView;