base on android wheel
dependencies {
compile 'com.github.wzq.wheel:wheel-lib:1.0.0'
}
Create a wheel view. Put resource file under assets. Like assets/[RESOURCE NAME].xml
WheelHelper wheelHelper = new WheelHelper(this, [RESOURCE NAME]);
wheelHelper.getView();
Get current value.
Address address = wheelHelper.getCurrent();
Set current value.
wheelHelper.setCurrent(WheelHelper.TYPE_PROVINCE, "";
wheelHelper.setCurrent(WheelHelper.TYPE_CITY, "");
wheelHelper.setCurrent(WheelHelper.TYPE_DISTRICT, "");