####1、里面有两种城市的选择模式,一个是picker模式,一个是列表模式; ####2、其中picker模式采用的是react-native-picker,里面只有两层的目录结构,如果需要三层的用作者的那个就可以了 ####3、列表模式是我们最常用的,再次采用的方法是计算出城市列表的高度,点击右侧的index字母索引就可以对应到相应的字母对应的城市列表,各位请看下图 ####4、如果要运行我的代码,需要先下载下来 git clone https://github.com/LiuC520/react-native-city-pick/ ####5、然后 npm i ####6、然后react-native run-android 或者 react-native run-ios
react-native-city-pick's Introduction
react-native-city-pick's People
Forkers
vickysongang kevin-xiong pht1991 nancymi z-android 891294527 cqululei lumeiyue cs453146042 leadrive huyue0614 leo-sh luoyeguiti duansiyu afeng159 393560589 swallow-liu hgwx a597873885 mhpyzzy sunflowergj guoxinlei123 train860 lakecenter wyming0 yrjwcharm mrtugit superjunjun yy1443264887react-native-city-pick's Issues
关于搜索
参考了城市选择列表.项目需要加入了搜索功能.用了 for each in ..去匹配..但是有点延迟.体验不是很好. 有什么更好的解决办法吗?? 谢谢
Navigator不推荐使用,是否考虑过替换成其他方案?
Navigator不推荐使用,是否考虑过替换成其他方案
componentDidMount重复渲染
重复进入页面时,列表会重复渲染
android机加载城市列表很慢
android手机上进入城市列表,很慢,2-3s的响应时间,怎么解决?
在列表模式下,右边的letter可以变成滑动的么
如题,右边的letter能不能改成和微信通讯录那样一样的,可以滑动着变化左边的名单,而不是通过只能点击呢,rn中有提供这种方法么?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.