-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
地址选择器设置默认值建议增加ID设置 #39
Labels
Comments
1.5.X版本已经支持传入对象,详见demo |
你好, 为什么是对象..... 我想说直接支持ID查找 .....
已知服务器存储的是名称对应的ID, eg. 贵州=520000 , 一般情况下, 服务器是返回 520000", "520100" "520111" , 转换对象是直接 New Province province, City city, County county ... 然后传入ID 我觉得这层可以封装呀 .... 直接接收传入ID , eg. picker.setSelectedItemID("520000", "520100" "520111"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
picker.setSelectedItem("贵州", "贵阳", "花溪");
picker.setSelectedItem("520000", "520100" "520111");
The text was updated successfully, but these errors were encountered: