Giter Site home page Giter Site logo

yoonzm / react-native-alphabet-flat-list Goto Github PK

View Code? Open in Web Editor NEW
54.0 3.0 28.0 25.97 MB

使用FlatList制作的react-native字母选择列表

Home Page: https://github.com/yoonzm/react-native-alphabet-flat-list

License: MIT License

JavaScript 3.27% TypeScript 59.37% Python 7.18% Java 6.46% Ruby 8.19% Objective-C 15.53%
react-native alphabet flat-list

react-native-alphabet-flat-list's Introduction

yoonzm's GitHub stats

Top Langs

react-native-alphabet-flat-list's People

Contributors

yoonzm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-alphabet-flat-list's Issues

Slow scrolling while changing index on iOS

On iOS when the pan gesture started on indexes, then this is not scrolling fast. But when pan gesture reached to some specific index it scroll very fast to that section.

ezgif com-video-to-gif

字母少了右边的字母区域稀稀拉拉不好看

能不能将右边的字母高度固定,字母少了居中显示,像微信一样。

还有个问题,如果开头字母不是字母,而是其他字符也不好处理,因为json键值不能是汉字或者数字。

请问这个适不适合加载大量数据?

如果数据量超过上千条或者更多的情况下,一次性渲染肯定是不行的,如果是分页加载的话,比如第一次加载100条数据,会渲染100个item,第二次再次加载100条数据,是不是会渲染200个item?(就是把之前那100个item也会重新渲染)

Calling from plain js

Hi there,

thank you for the library, but can the AlphabetFlatList be called from plain javascript react-native?
Like so
<AlphabetFlatList IContact={IContact} .../(> or so?

Warning virtualizedCell.cellKey

I think we must change the key from number to string

Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer, expected string.

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.