Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 836 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 836 Bytes

WheelPicker

城市三级联动选择控件,直接使用。

如何引用

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
        compile 'com.github.fanhua1994:WheelPicker:1.0.2'
}

如何调用

final CityWheelPickerPopupWindow wheelPickerPopupWindow = new CityWheelPickerPopupWindow(MainActivity.this);
wheelPickerPopupWindow.setListener(new OnCityWheelComfirmListener() {
    @Override
    public void onSelected(String Province, String City, String District, String PostCode) {
        Toast.makeText(MainActivity.this,Province + City + District,Toast.LENGTH_LONG).show();
    }
});