//省市三级联动
protected void showPopWindow() {
opWindow.setPicker(provinceLists, cityLists, districtLists, true);
opWindow.setSelectOptions(0);
opWindow.setCyclic(false);
opWindow.showAtLocation(getWindow().getDecorView(), Gravity.BOTTOM, 0, 0); // 位置
opWindow.setOnoptionsSelectListener(new OptionsPopupWindow.OnOptionsSelectListener() {
@Override
public void onOptionsSelect(int options1, int option2, int options3) {
provinces = provinceLists.get(options1);
cities = cityLists.get(options1).get(option2);
areas = districtLists.get(options1).get(option2).get(options3);
locationAreaTxt.setText(provinceLists.get(options1) + " " + cityLists.get(options1).get(option2)
+ " " + districtLists.get(options1).get(option2).get(options3));
}
});
}