Coder Social home page Coder Social logo

react-native-city-pick's Introduction

react-native-city-pick

####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 People

Contributors

liuc520 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.