react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.49k stars 280 forks source link

How to implement multi-level linkage function?怎么实现多级联动功能 #416

Open shentaolin opened 2 years ago

shentaolin commented 2 years ago

How to achieve, similar to the address selection function, the first column to select the province, the second column to select the city, the third column to select the district, such a multi-level linkage selector? 怎么实现,类似选择地址功能,第一列先选择省,第二列选择市,第三列选择区,这样的多级联动选择器

LastStranger commented 1 year ago

我有实现,但是安卓无法实现IOS的那种滚动效果,就很烦

basememara commented 6 months ago

How did you implement this? I'm trying to get a multi-picker input to achieve data + time or country + region scenarios.

LastStranger commented 6 months ago

How did you implement this? I'm trying to get a multi-picker input to achieve data + time or country + region scenarios.

I made a simple demo, you can get some inspiration from it(this demo is just the first version, still have some issues), https://github.com/LastStranger/picker