Giter Site home page Giter Site logo

citypicker-1's Introduction

CityPicker

Platform API

请查看原文链接 不再赘述,本只是搜到原作者的框架,甚是喜欢,但发现有一些BUG,于是自己尽力修复了一些,为了方便和需求又添加了一些新的接口
本打算自己留着用了,时间仓促,也没有太雕琢代码质量,单看到issue里有那么多问题,也不知道大家解决没有,但本着开源的原则,就把自己的版本发出来了
原来整体代码还是比较好看懂的,我又加了一些简单的备注,如果可能建议还是多尝试着自己看一看

主要修改:

  • 新增可以配置是否开启“热门城市”
  • 新增可以配置是否开启“定位”
  • 开放接口自定义“热门城市”标题
  • 开放接口自定义“热门城市”内容数据
  • 现在数据库文件只包含市以上了
  • 修复“没有内容时还可以点击到城市”的BUG
  • 修复“搜索不显示光标的BUG”
  • 开放接口自定义城市数据
  • 提升最低版本号为16
  • 新增自动根据名称识别首字母
  • 自定义数据一键排序

使用方法:

点击查看原文链接

本次新增主要内容使用方法:

    通过自定义CityPickerConfig来完成自定义

样例代码中已经有详细的代码和备注,点击查看样例代码

This is a fixed version, please click here to see more
If you need, you can submit an issue.
如果有需要,可以提交iuuse

####再次感谢原作者,希望帮助到更多的人

citypicker-1's People

Contributors

zhuxu1 avatar susyimes 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.